<div dir="ltr">Hello again, Jason--<div><br></div><div>I did some checking on my system (linux) and saw it had ImageMagick, so I found it simple to convert from PNG to JPG or GIF, in a script for example:</div><div><br></div><div>'gxprint testpic.png x960 y720'</div><div>'!convert testpic.png testpic.gif'</div><div><br></div><div>Where "convert" is the ImageMagick command-line tool.  By the way, convert can also be used for a host of other options.  From GrADS, if you have the application, you could enter !convert --help to see the various options.  Otherwise, see https:/<a href="http://imagemagick.org">imagemagick.org</a> for more information.</div><div><br></div><div>Stephen Mc</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 13, 2021 at 12:13 PM Stephen McMillan <<a href="mailto:smcmillan@planalytics.com">smcmillan@planalytics.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Jason,<div><br></div><div>The GrADS documentation (<a href="http://cola.gmu.edu/grads/gadoc/gradcomdgxprint.html" target="_blank">http://cola.gmu.edu/grads/gadoc/gradcomdgxprint.html</a>) states the JPG and GIF options are not supported by the Cairo library.  Printim is an alias for gxprint.  PNG is now the only supported image format, but you might consider one of the vector graphic options.  You could also try using ImageMagick to convert to JPG or GIF.  Perhaps another GrADS user can assist, since I have no experience with that.</div><div><br></div><div>Stephen McMillan</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Mar 13, 2021 at 8:58 AM <<a href="mailto:jason@solargrafix.com" target="_blank">jason@solargrafix.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I am trying to output an image to a format other than png.  I can create <br>
the png without any problem, but I can not create gif or jpg.  If I <br>
change the file extension to gif or jpg in my script, nothing is <br>
created.<br>
<br>
Here is the line in my script I am using to create the image...<br>
<br>
'printim C:\xampp\htdocs\weather\models\20210313\HRRR-SNOW24.png x1024 <br>
y768'<br>
<br>
I also tried using gxprint instead of printim, but the result was the <br>
same.  I am using grads 2.2.1<br>
<br>
Any assistance would be appreciated.<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div>
</blockquote></div>

<br>
<pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">******************************<wbr>*********************</pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">The information contained in this e-mail message </pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">is intended only for the use of the recipient(s) </pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">named above and may contain information that is </pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">privileged, confidential, and/or proprietary. </pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">If you are not the intended recipient, you may not</pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">review, copy or distribute this message. If you have</pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">received this communication in error, please notify </pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">the sender immediately by e-mail, and delete the original message.</pre><pre style="white-space:pre-wrap;color:rgb(34,34,34);margin:0in 0in 0.0001pt;font-size:10pt;font-family:"Courier New";background-color:rgb(255,255,255)">******************************<wbr>*********************</pre>