Great idea. I've added support for transparent background PNG images. Just
specify the image type to be PNGT, and Jmol will make the current background
color transparent.
version=12.2.RC6
# new feature: transparent background PNG images with WRITE PNGT xxxx.png
# -- set ANTIALIASEIMAGES false to avoid slight trim issue
# -- use an unusual color, such as [x010101] for the background
see http://chemapps.stolaf.edu/jmol/docs/examples-12/Jmol-12.zip
Bob
On Fri, Sep 9, 2011 at 6:46 PM, Yingjie Lin <yingjie....@mssm.edu> wrote:
> Hi Jmolers,
>
> How can I set background to transparent, so that when Jmol exports an
> image, the background of the image is transparent?
>
> Thank you.
>
>
> - Yingjie
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Why Cloud-Based Security and Archiving Make Sense
> Osterman Research conducted this study that outlines how and why cloud
> computing security and archiving is rapidly being adopted across the IT
> space for its ease of implementation, lower cost, and increased
> reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
--
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
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
------------------------------------------------------------------------------
Malware Security Report: Protecting Your Business, Customers, and the
Bottom Line. Protect your business and customers by understanding the
threat from malware and how it can impact your online business.
http://www.accelacomm.com/jaw/sfnl/114/51427462/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users