Bugs item #2971384, was opened at 2010-03-16 12:03
Message generated for change (Comment added) made by hansonr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=2971384&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Rolf Huehne (rhuehne)
Assigned to: Nobody/Anonymous (nobody)
Summary: Large image export problem - 11.8.20/11.9.24

Initial Comment:
If I try to export larger images (e.g.: 1600x1600) of larger structures (e.g.: 
2NOX, asym.unit, antialiasdisplay on)  with the unsigned applet using the 
Javascript command 'jmolGetPropertyAsString("image")' with version 11.8.20 or 
11.9.24 there occurs reproducibly a rendering error:

  rendering error -- perhaps use "set refreshing FALSE/TRUE"?

The exported image contains only parts of the structure (up to nothing at all). 
And parts of the structure look like one half of two interlaced images.
If I provide the following two commands (as suggested by the error message?) 
immediately before the export it works:

  set refreshing false;
  set refreshing true;

But then sometimes undesired echo text (e.g.: "Please wait...") is included in 
the image. And I also didn't find a reliable way to execute the two commands 
automatically just in time before the Javascript export command and use this as 
a workaround.

The error doesn't occur with version 11.6.8. The only other version in between 
I tried was 11.8.8 and there the error occurs.

----------------------------------------------------------------------

>Comment By: Bob Hanson (hansonr)
Date: 2010-03-16 14:14

Message:
The way you would do this from javascript is:

x = jmolEvaluate("script('set refreshing false;getProperty image;set
refreshing true')")

But I don't think that will work. I think you are running into a memory
problem. Those are huge images and if there is any translucent business
there, it will be 4x the size in memory. You could try

set antialiasImages false

and see how that works. Ah, or you could use

set antialiasdisplay false
getproperty image
set antialiasdisplay true

this might save substantially in memory. Might need

set antialiasdisplay false
refresh
getproperty image
set antialiasdisplay true


That at least will save you any display memory you don't need during that
operation. 

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=2971384&group_id=23629

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to