OK, I lied. I figured out how to do it. Also added PNG and GIF sequential
file capture for those who want to create MOV or other format files that
take frame sequences. The GIF writer is significantly slower, but I think
it's probably worth it to have color quantization that is essentially the
same as GIMP. (And Jmol preserves the background  color as well.)

In the end I couldn't really figure out how GIMP does it, so I found
another way to do it. (The key was to use CIE L*a*b space for the color
mapping.)

http://chemapps.stolaf.edu/jmol/zip/jmol-14.3.8_2014.11.8.zip

Jmol.___JmolVersion="14.3.8_2014.11.09"

new feature: CAPTURE "filename0000.png"
  -- captures set of PNG files
  -- 0000 is not required

new feature: CAPTURE "filename0000.gif"
  -- captures set of GIF files
  -- 0000 IS required in order to distinguish this from animated GIF

bug fix: GIF writer not properly handling large numbers of colors
  -- use of CIE L*a*b for color quantification
  -- nearly identical to GIMP
  -- uses MEAN_cut (not MEDIAN_cut)
  -- uses Floyd-Steinberg dithering
  -- will not discolor background (as GIMP will do)

bug fix: GIF and PPM writing broken in JavaScript
  -- initial putString improperly forces string buffer mode in OC (Output
Channel)

bug fix: WRITE command should remove "t" or "j" in WRITE xxx.PNGJ, WRITE
xxx.PNGT, WRITE xxx.GIFT
  -- specifically when no PNGJ, GIFT, or PNGT designation is made.

bug fix: PDB reader limited to 20 connections per atom
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to