[mapguide-users] RenderingService and DPI (How to change DPI before rendering)

Scott Hameister scotth at mpower-tech.com
Mon Nov 12 13:39:45 EST 2007


I can send anyone interested sample PDFs of the same map stream at different
screen resolutions

 

From: mapguide-users-bounces at lists.osgeo.org
[mailto:mapguide-users-bounces at lists.osgeo.org] On Behalf Of Scott Hameister
Sent: Monday, November 12, 2007 12:00 PM
To: 'MapGuide Users Mail List'
Subject: [mapguide-users] RenderingService and DPI (How to change DPI before
rendering)

 

How do I change the DPI that The  Rendering Service Uses when Creating a
map.

The Streamed Image from the rendering service is being poured into a PDF
file.the problem is that the quality of the PDF varies based on the
Resolution my Screen is at when I render the Stream, instead of being
consistent in the PDF. If I'm at 1024 x 768 the PDF map is grainier than if
I'm at 1920x1200 resolution when  I stream the image How can I address this
to make the PDF quality the same for all users?

 

<cfset newMap =
renderingSrvc.rendermap(map,mgselection,realCenter,Javacast("DOUBLE",SesMapS
cale),Javacast

("INT",SesScrnW),Javacast("INT",SesScrnH),mapcolor,"PNG")>

 

Above Is my Coldfusion call.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20071112/b8469959/attachment.html


More information about the mapguide-users mailing list