On Fri, Aug 21, 2015 at 1:51 PM, Rolf Huehne <rhue...@fli-leibniz.de> wrote:

>
> My question aimed at the second task needed for my idea of
> storing/restoring custom Jmol extensions with a PNGJ file:
>
> If the custom system is already loaded it should be able to skip
> installing itself again in a maybe older version. so it would be
> necessary to modify it.
>
> But your answer actually also helped to achieve the first task of
> getting the extension into the PNGJ file (see below).
>
> The only thing that seems to be missing for the second task is to be
> able to load PNGJ data from a variable:
>
> ==== Load PNGJ from variable =========
> x = load("test.png", true);
> $ load "@x"
> script ERROR: io error reading string: java.io.FileNotFoundException:
> string (No such file or directory)
> ======================================
>
>
I think the problem there would be figuring out a way to save that in a
state. It could be done, but it would be pretty ugly -- all of that in
base64?


Bob
-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


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
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to