Angel Herraez wrote:
> El 18 Feb 2008 a las 13:06, Rolf Huehne escribió:
> 
>> It worked with Firefox 2.0.0.10 on OpenSuSE 10.2.
>> It worked with Opera 9.25       on OpenSuSE 10.2.
> 
> Thanks
> 
>> It didn't work with Konqueror 3.5.5 on OpenSuSE 10.2 (only broken image
>> icon shown).
> 
> There should be a link below the image, saying "try alternative 
> method". Does that work? (That is the one using PHP to process the 
> image in the server.)
> 

No, there is no link. There is only the following text below the icon:
  You can copy this image using the right-click menu

> 
>> >From my own experiments with base64 encoded inline images I remember
>> that there were sometimes problems even with only 600x600 pixel images
>> on Windows (security exception). But I think this was before the default
>> JPEG compression was switched from 100 to 75. So this problem will
>> probably be reduced now, because the exception seemed to be correlated
>> to some size limit. 
> 
> I tested up to 1000x1000 pixels with no problem.
> 
>> page with a freely resizable applet to a size even much larger than the
>> screen.
> 
> Good idea. But how do you resize to an applet larger than the screen? 
> Only by script, I guess.
> 

Yes, I think so. In my Jmol interface I use Javascript to resize Jmol
according to the values of two input fields for width and height:

<input id="applet_width" size="4" maxlength="5" value="600" type="text">
  &nbsp;x&nbsp;
<input id="applet_height" size="4" maxlength="5" value="600" type="text">
  &nbsp;pixel&nbsp;
&nbsp;&nbsp;<input id="resize" value="resize"
onclick='document.getElementById("jmolApplet0").style.width =
document.getElementById("applet_width").value;
document.getElementById("jmolApplet0").style.height =
document.getElementById("applet_height").value; jmolScript("refresh");'
type="button">

Even something like 5000x5000 pixel worked succesfully on my system.
(But of course there must be enough memory available for the JavaVM.)

Regards,
Rolf

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to