This bug is fixed for Jmol 11.8.15 and Jmol 11.9.13.

You can now have a transparent GIF or PNG image in an echo and also set the echo background color independently.

You can now have a transparent GIF or PNG image for the background and also have a background color. One caveate -- setting

background red

will remove an image if it is present. If you use instead

color background red

then that will not clear the image.


2009/12/22 Angel Herráez <>
El 21 Dec 2009 a las 23:48, Graeme Kidd escribió:

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

Unfortunately, those are good only for black applet. Jmol is still
using the first pixel for transparency.
What I wanted is that the corner images will be white outside and
transparent inside so they will pick whatever background color the
applet has. That assumes the page background is white; otherwise, a
different set of images is needed.

The advantage, as you saw, is that images inserted into Jmol using
echo are in front of the model, so they effectively hide the molecule
when it comes close to the edge. (Differently to the CSS approach)

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
Jmol-developers mailing list

Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
phone: 507-786-3107

If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900