Jmol 11.2 uses PNG compression 2 only

Jmol 11.3 uses PNG compression 0 by default (that's a bug I will fix -- 
it is intended to be 2) but the -q switch intended for JPG quality is 
also setting PNG compression level. The acceptable range is 0 - 9, so 
it's just the wrong default value.

The command line switch -q should set this:

-q 1
-q 2
-q 9

09/10/2007  09:28 PM           750,678 t.png  # default
09/10/2007  09:28 PM            35,003 t0.png # -q0
09/10/2007  09:28 PM            36,268 t1.png # -q1
09/10/2007  09:27 PM            29,781 t9.png # -q9

So that appears to be working. All are gorgeous.


Bob

Michal Bozon wrote:

>I have an additional question on this topic: non-interactively generated PNG 
>images are uncompressed. Is it possible to enable the compression somehow ?
>
>  MB
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2005.
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>  
>


-- 
Robert M. Hanson
Professor 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



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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