Hi,

It actually doesn't change the quality, just the time to create the
file and the size of the file.  PNG is lossless, so compression levels
1 to 9 are all pixel-perfect.

Cheers,

Edward





On 2 May 2014 11:49, Troels Emtekær Linnet <[email protected]> wrote:
> Hi Edward.
>
> I looked at the file size.
> It goes from 10 kB to 20 kB, soooo that is so little, that I rather
> keep the better quality.
>
> And yes. Better commit messages will be done. ;-)
>
> Best
> Troels
>
> 2014-05-02 10:53 GMT+02:00 Edward d'Auvergne <[email protected]>:
>> Hi Troels,
>>
>> I think it would be better if you left the PNG compression level to 9
>> rather than 1 to keep the file size down.  The commit message mentions
>> nothing of this change.  Alternatively we could add the PNG
>> compression level as an argument to the relax_disp.plot_disp_curves
>> user function and have it default to 9, that way it can be changed to
>> lower values for custom relax scripting.
>>
>> Regards,
>>
>> Edward
>>
>>
>> On 1 May 2014 20:25,  <[email protected]> wrote:
>>> Author: tlinnet
>>> Date: Thu May  1 20:25:30 2014
>>> New Revision: 22908
>>>
>>> URL: http://svn.gna.org/viewcvs/relax?rev=22908&view=rev
>>> Log:
>>> Removed the standard transparent "on" setting in grace images script file.
>>>
>>> This was rather an annoyance than helpfull.
>>>
>>> Modified:
>>>     trunk/lib/software/grace.py
>>>
>>> Modified: trunk/lib/software/grace.py
>>> URL: 
>>> http://svn.gna.org/viewcvs/relax/trunk/lib/software/grace.py?rev=22908&r1=22907&r2=22908&view=diff
>>> ==============================================================================
>>> --- trunk/lib/software/grace.py (original)
>>> +++ trunk/lib/software/grace.py Thu May  1 20:25:30 2014
>>> @@ -89,8 +89,8 @@
>>>      file.write("    if not os.path.isfile(pngpar):\n")
>>>      file.write("        wpngpar = open(pngpar, \"w\")\n")
>>>      file.write("        wpngpar.write(\"DEVICE \\\"PNG\\\" FONT 
>>> ANTIALIASING on\\n\")\n")
>>> -    file.write("        wpngpar.write(\"DEVICE \\\"PNG\\\" OP 
>>> \\\"transparent:on\\\"\\n\")\n")
>>> -    file.write("        wpngpar.write(\"DEVICE \\\"PNG\\\" OP 
>>> \\\"compression:9\\\"\\n\")\n")
>>> +    file.write("        wpngpar.write(\"DEVICE \\\"PNG\\\" OP 
>>> \\\"transparent:off\\\"\\n\")\n")
>>> +    file.write("        wpngpar.write(\"DEVICE \\\"PNG\\\" OP 
>>> \\\"compression:1\\\"\\n\")\n")
>>>      file.write("        wpngpar.close()\n")
>>>      file.write("\n")
>>>      file.write("# Now loop over the grace files\n")
>>>
>>>
>>> _______________________________________________
>>> relax (http://www.nmr-relax.com)
>>>
>>> This is the relax-commits mailing list
>>> [email protected]
>>>
>>> To unsubscribe from this list, get a password
>>> reminder, or change your subscription options,
>>> visit the list information page at
>>> https://mail.gna.org/listinfo/relax-commits
>>
>> _______________________________________________
>> relax (http://www.nmr-relax.com)
>>
>> This is the relax-devel mailing list
>> [email protected]
>>
>> To unsubscribe from this list, get a password
>> reminder, or change your subscription options,
>> visit the list information page at
>> https://mail.gna.org/listinfo/relax-devel

_______________________________________________
relax (http://www.nmr-relax.com)

This is the relax-devel mailing list
[email protected]

To unsubscribe from this list, get a password
reminder, or change your subscription options,
visit the list information page at
https://mail.gna.org/listinfo/relax-devel

Reply via email to