On Thu, Apr 5, 2012 at 9:58 PM, Marco Hugentobler < marco.hugentob...@sourcepole.ch> wrote: > > > Hi > > Yes, that was the reason. It needs conversion code for the map. > > Nathan: are you using that function in a plugin? > > Yes I was hoping to use it in a script outside QGIS, in a custom Python app using QGIS as a mapping platform.
The plan is to: 1. Load QGIS via QgsApplication 2. Open composition 3. Print composition to .png 4. Use .png in other app The other app is a service that run on the computer in the background and generates maps for search requests that come in, so I can't really use a QGIS plugn because it has to be automated and run in the background. - Nathan
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer