<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi, Jim -- <div>I was able to reproduce this error. Not sure why it was happening, but I tweaked the supplib configurations a bit by updating the cairo version from 1.10 to 1.12 and gxprint is able to write out PNG files now. I don't do much testing on the older laptop so this problem escaped my notice. </div><div><br></div><div>I have just replaced the tarball on our FTP server:</div><div><a href="ftp://cola.gmu.edu/grads/2.1/grads-2.1.a1-bin-darwin9.8.tar.gz">ftp://cola.gmu.edu/grads/2.1/grads-2.1.a1-bin-darwin9.8.tar.gz</a></div><div>--Jennifer</div><div><br></div><div><br></div><div><br><div><div>On Jan 3, 2014, at 3:40 PM, James T. Potemra wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"> <meta content="text/html; charset=ISO-8859-1" http-equiv="Content-Type"> <div bgcolor="#FFFFFF" text="#000000"> <br> I'm using GrADS 2.1.a1 on a Mac (OS-10.6.8). The print command gxprint seems to work fine for<br> .ps, .eps and .pdf extensions, but when I try to make a .png file I get a file of zero size. For example,<br> <br> <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> 'sdfopen <a class="moz-txt-link-freetext" href="http://nomads.ncep.noaa.gov:9090/dods/gfs_2p5/gfs_2p520131205/gfs2p5_00z">http://nomads.ncep.noaa.gov:9090/dods/gfs_2p5/gfs_2p520131205/gfs2p5_00z</a>'<br> 'd tmp2m'<br> 'gxprint test.png x1024 y768'<br> <br> gives a file called test.png of size zero. Replacing test.png with test.ps, test.eps or test.pdf all <br> give proper files.<br> <br> Thanks in advance for any ideas,<br> <br> Jim<br> <br> Here's my config info:<br> <br> Config: v2.1.a1 little-endian readline grib2 netcdf hdf4-sds hdf5 opendap-grids,stn geotiff shapefile cairo<br> Grid Analysis and Display System (GrADS) Version 2.1.a1<br> Copyright (c) 1988-2013 by the Institute for Global Environment and Society (IGES) <br> This program is distributed WITHOUT ANY WARRANTY <br> See file COPYRIGHT for more information. <br> <br> Built Wed Dec 18 20:25:52 EST 2013 for i386-apple-darwin9.8.0<br> <br> This version of GrADS has been configured with the following options:<br> o Built on a LITTLE ENDIAN machine<br> o Athena Widget GUI DISABLED<br> o Command line editing ENABLED <br> <a class="moz-txt-link-freetext" href="http://tiswww.case.edu/php/chet/readline/rltop.html">http://tiswww.case.edu/php/chet/readline/rltop.html</a> <br> o GRIB2 interface ENABLED <br> <a class="moz-txt-link-freetext" href="http://www.ijg.org">http://www.ijg.org</a> <br> <a class="moz-txt-link-freetext" href="http://www.ece.uvic.ca/~mdadams/jasper">http://www.ece.uvic.ca/~mdadams/jasper</a> <br> <a class="moz-txt-link-freetext" href="http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2">http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2</a> <br> g2clib-1.4.0 <br> o NetCDF interface ENABLED <br> <a class="moz-txt-link-freetext" href="http://www.unidata.ucar.edu/software/netcdf">http://www.unidata.ucar.edu/software/netcdf</a> <br> netcdf 4.1.2 of Oct 4 2011 13:26:28 $ <br> o OPeNDAP gridded data interface ENABLED<br> o OPeNDAP station data interface ENABLED<br> <a class="moz-txt-link-freetext" href="http://iges.org/grads/gadoc/supplibs.html">http://iges.org/grads/gadoc/supplibs.html</a> <br> libgadap 2.0 <br> o HDF4 and HDF5 interfaces ENABLED <br> <a class="moz-txt-link-freetext" href="http://hdfgroup.org">http://hdfgroup.org</a> <br> HDF 4.2r6 <br> HDF5 1.8.7 <br> o GeoTIFF and KML/TIFF output ENABLED<br> <a class="moz-txt-link-freetext" href="http://www.libtiff.org">http://www.libtiff.org</a> <br> <a class="moz-txt-link-freetext" href="http://geotiff.osgeo.org">http://geotiff.osgeo.org</a> <br> o KML contour output ENABLED<br> o Shapefile interface ENABLED<br> <a class="moz-txt-link-freetext" href="http://shapelib.maptools.org">http://shapelib.maptools.org</a> <br> o Cairo graphics interface ENABLED <br> <a class="moz-txt-link-freetext" href="http://cairographics.org">http://cairographics.org</a> <br> <a class="moz-txt-link-freetext" href="http://cgit.freedesktop.org/pixman">http://cgit.freedesktop.org/pixman</a> <br> <a class="moz-txt-link-freetext" href="http://www.freetype.org/index2.html">http://www.freetype.org/index2.html</a> <br> <a class="moz-txt-link-freetext" href="http://www.freedesktop.org/wiki/Software/fontconfig">http://www.freedesktop.org/wiki/Software/fontconfig</a> <br> Cairo 1.10.0<br> Pixman 0.21.2<br> Freetype 2.4.3<br> Fontconfig 2.8.0<br> <br> For additional information please consult <a class="moz-txt-link-freetext" href="http://iges.org/grads">http://iges.org/grads</a><br> <br> </div> _______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true"> <div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; font-size: 12px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><span class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div> </div><br></div></body></html>