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

Reply via email to