Revision: 20077
          http://sourceforge.net/p/jmol/code/20077
Author:   hansonr
Date:     2014-10-15 03:12:16 +0000 (Wed, 15 Oct 2014)
Log Message:
-----------
Jmol.___JmolVersion="14.3.8_2014.10.14"

new feature: transparent GIF using WRITE GIFT "xxx.gif"
new feature: GIF images use dithering to approximate full palette.
new feature: CAPTURE "file.gif" 10 transparent
 - or CAPTURE "file.gift" -- "gift" automatically changed to "gif"

Modified Paths:
--------------
    trunk/Jmol/src/javajs/img/GifEncoder.java
    trunk/Jmol/src/org/jmol/viewer/Jmol.properties

Modified: trunk/Jmol/src/javajs/img/GifEncoder.java
===================================================================
--- trunk/Jmol/src/javajs/img/GifEncoder.java   2014-10-15 02:27:06 UTC (rev 
20076)
+++ trunk/Jmol/src/javajs/img/GifEncoder.java   2014-10-15 03:12:16 UTC (rev 
20077)
@@ -474,8 +474,7 @@
       putByte(0x21); // graphic control extension
       putByte(0xf9); // graphic control label
       putByte(4); // block size
-      int packedBytes = (transparentIndex == -1 ? 0 : 1) | (delayTime100ths > 
0 ? 2 : 0);
-      putByte(packedBytes); 
+      putByte((transparentIndex == -1 ? 0 : 9) | (delayTime100ths > 0 ? 2 : 
0)); // packed bytes 
       putWord(delayTime100ths > 0 ? delayTime100ths : 0);
       putByte(transparentIndex == -1 ? 0 : transparentIndex);
       putByte(0); // end-of-block

Modified: trunk/Jmol/src/org/jmol/viewer/Jmol.properties
===================================================================
--- trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2014-10-15 02:27:06 UTC 
(rev 20076)
+++ trunk/Jmol/src/org/jmol/viewer/Jmol.properties      2014-10-15 03:12:16 UTC 
(rev 20077)
@@ -19,7 +19,8 @@
 
 new feature: transparent GIF using WRITE GIFT "xxx.gif"
 new feature: GIF images use dithering to approximate full palette.
-new feature: capture "file.gif" 10 transparent   -- but does not work
+new feature: CAPTURE "file.gif" 10 transparent
+ - or CAPTURE "file.gift" -- "gift" automatically changed to "gif"
 
 bug fix: Legendre for U not implemented in msCIF reader - preliminary
 bug fix: Legendre for D,U in Jana2006 reader not implemented - preliminary

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Jmol-commits mailing list
Jmol-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-commits

Reply via email to