mailRe: r22908 - /trunk/lib/software/grace.py


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Troels Emtekær Linnet on May 02, 2014 - 11:50:
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 <edward@xxxxxxxxxxxxx>:
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,  <tlinnet@xxxxxxxxxxxxx> 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
relax-commits@xxxxxxx

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
relax-devel@xxxxxxx

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



Related Messages


Powered by MHonArc, Updated Fri May 02 12:00:09 2014