Robert Hanson wrote:
> ps - It turns out there was a GIF encoder hiding in the Jmol code all along,
> so I activated that as well. You can now save GIF images, but frankly they
> look terrible because (I believe) GIF is limited to 256 colors. So I didn't
> add that possibility to the menu.

I don't think that the limitation to 256 colors usually is a real
problem. For our JenaLib atlas pages for all PDB entries we use GIF
images converted from PNG images automatically created by Jmol, e.g.:

http://www.fli-leibniz.de/ImgLibPDB/thumbnail/auto/current/small/2arc.gif
http://www.fli-leibniz.de/ImgLibPDB/thumbnail/auto/current/png/2arc.png

There is usually no drastic quality difference. It depends of course of
the specific rendering and larger images might also be more problematic.
If file size matters in my experience the quality of GIF images of PDB
structures compared to JPEG images of similar size is often better.
Therefore I didn't switch to JPEG images after implementing the
automatic image generation with Jmol in the JenaLib.

If there is a much higher quality loss with Jmol generated GIF images it
might be due to an unfavourable mechanism to map the colors in the image
to 256 colors. If this is not the case I would vote to include GIF in
the menu and let the user decide to use it or not.

Regards,
Rolf

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to