I do find it strange how the white pixels in the GIF get converted to the
top-left pixel of the applet. After playing around with the images I noticed
I was able to get them to stay white by applying a gentle gradient, so
almost all the white pixels were a slightly different shade.

I have attached the images if you want to add them to your example.

-----Original Message-----
I am testing the use of transparent gif files inserted into Jmol using 
   set echo myNamedEcho IMAGE "myFileName"

I created some GIFs with transparency. Jmol (11.8.11) does not respect the
transparency, 
but instead makes transparent always the color of the top-left pixel.
And whatever was my transparent color comes out as black (although the
applet 
background, set using jmolSetAppletColor, is not black)

Is this serving any purpose? I was prepared to see that transparency might
be ignored, but 
having another color made the transparent one is disconcerting.

<<attachment: rounded-corner-tl.gif>>

<<attachment: rounded-corner-tr.gif>>

<<attachment: rounded-corner-bl.gif>>

<<attachment: rounded-corner-br.gif>>

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to