I think PNGJ is a really great feature. (passing arguments to script-files, as well)


On Thu, May 24, 2012 at 5:12 PM, Robert Hanson <> wrote:
yes, I just found that out earlier today. It's fixed.

On Wed, May 23, 2012 at 11:42 PM, Oliver Stueker <> wrote:

I get an NullPointer when trying to write a PNGJ in Jmol 12.3.26.

$ write IMAGE PNGJ "my_image.png"
script ERROR: ERROR creating image??: java.lang.NullPointerException
         >> write << image pngj "my_image.png"

In version 12.3.25  writing PNGJ works and there are no problems writing a plain PNG in 12.3.26.


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