Re: [Qgis-user] Qgis server getPrint problems

2012-12-15 Thread mirko
Many problems again. I can not decode getPrint response of png image bytearray. Is there a particular decode method? Thanks again -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Qgis-server-getPrint-problems-tp5023188p5023209.html Sent from the Quantum GIS - User mailing

Re: [Qgis-user] Qgis server getPrint problems

2012-12-15 Thread mirko
Hi Marco, thank you for your reply. I solved changing FORMAT output (in getPrint request) from "pdf" to "png". So i have only to convert the output image to pdf before sending file to client. If someone uses qgis-web-client the code to modify is the following: In WebgisInit.js file: - Define v

Re: [Qgis-user] Qgis server getPrint problems

2012-12-15 Thread Marco Hugentobler
Hi Mirko For svg fill, line pattern fill and point fill, Qt needs an x-server for printing to pdf (therefore the crash). Two workarounds are possible: - Print composition as raster (in that case, the whole content is printed to a QImage first) - Run an x-server on the server machine. Regards

[Qgis-user] Qgis server getPrint problems

2012-12-15 Thread mirko
I have some issues printing my map using getPrint service. If i use a simple symbol it works fine, but if i use composed symbol i get "Internal server error" after doing print request. Correct code of symbols: