<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16481" name=GENERATOR>
<STYLE>
<!--
                       
 font-face
        {font-family:"Arial Narrow";}
                        
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {
        font-family:Arial;
        color:windowtext;}
p.emailsignature, li.emailsignature, div.emailsignature
        {margin:0cm;
        font-size:10.0pt;
        font-family:"Arial Narrow";}

div.Section1
        {page:Section1;}
-->
</STYLE>
</HEAD>
<BODY lang=EN-GB dir=ltr vLink=purple link=blue>
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Both ways are possible. You can specify a higher dpi and also a really large output image size using the web APIs. I have tried both, and there was a bug with labels not taking into account dpi which I think I fixed (but my memory is fuzzy, so may be I didn't fix it). </DIV>
<DIV>&nbsp;</DIV>
<DIV>The limitation is the size of the ouput image in memory, since it needs to be in RAM while&nbsp;rendering the map. I successfully tried a 5000x5000 image, but with 10000x10000 it failed. For an 8.5"x11" image at 600 dpi, you would need to generate a 5100x6600 image which seems&nbsp;doable.</DIV>
<DIV>&nbsp;</DIV>
<DIV>You can also stitch several large image tiles into one big raster as a post processing step, but this would most likely show labeling artifacts at the edges, so I would recommend the monolithic image approach.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Traian</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>-----Original Message----- <BR><B>From:</B> mapguide-users-bounces@lists.osgeo.org&nbsp;on behalf of&nbsp;Simon Hope <BR><B>Sent:</B> Thu 6/21/2007 8:51 PM <BR><B>To:</B> mapguide-users@lists.osgeo.org <BR><B>Cc:</B> <BR><B>Subject:</B> [mapguide-users] Producing High Resolution images using renderingservice<BR><BR></DIV></FONT>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Hi</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">I’ve got a client who is very interested in developing a site using MapGuide Open source and they have a requirement to produce a map image output into a PDF but the quality of the image is important - i.e. suitable to print on a 600dpi printer.</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">I’ve looked over the documentation and the Rendering Service seems to cater for map image output however it’s not clear on what quality you can get using this – does anyone have any experience of using the rendering service in this way and could answer these questions:</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Can the rendering service be used to output map images at a higher quality by specifying resolution?</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">If the map image resolution cannot be set –is there any restriction on the size of the image exported using the rendering service (i.e. produce a large image (width x height) and reduce this to fit into the PDF – therefore increasing the quality?</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Thanks</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=1><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial">Simon</SPAN></FONT></P></DIV></BLOCKQUOTE></BODY></HTML>