Hi Angelica,<br>Did you try using PIL. I think that will solve your purpose.<br>Bye and take care<br>Bishwarup<br><br><div class="gmail_quote">On Wed, Nov 4, 2009 at 1:28 AM, Echavarria Gregory, Maria Angelica <span dir="ltr">&lt;<a href="mailto:m.echavarriagregory@umiami.edu">m.echavarriagregory@umiami.edu</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Dear Developers:<br>
<br>
I am creating my own QGIS application. I have a PNG figure created with pylab&#39;s contourf function which uses a variable 2D matrix of values. My axes are already in lat-lon. I need this plot to be produced in a raster format that can be loaded (without using the georeferencing plugin) on top of a vector layer, without the frame, ticks, etc, that I get from pylab, just the plain image, I guess in GeoTIFF format...<br>

<br>
I have seen around how to create a raster using GDAL and Python, but I want to use QGIS. How can I program this using the OSGeo4W package?<br>
<br>
I use Python 2.5, numpy, matplotlib, etc... and OSGeo4W 1.0 Kore windows package in an XP machine.<br>
<br>
Thanks a lot,<br>
Angelica.<br>
<br>
<br>
<br>
M. Angelica Echavarria-Gregory, M.Sc., E.I.<br>
Ph.D Candidate<br>
University of Miami<br>
Phone 305 284-3611<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</blockquote></div><br>