I have the following embedded in a jmol button and works perfectly:
jmolButton("write image.png", "Create image");
Cheers,
Daniel
2012/5/24 Oliver Stueker <[email protected]>
> Hi,
>
> 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.
>
>
> Best,
> Oliver
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users