[udig-devel] dpi issues

andrea antonello andrea.antonello at gmail.com
Wed Mar 26 07:43:36 PDT 2008


[...]
>  >May I ask how the dpi are dealth with?
>  >As long as I know, iText creates pdfs only in 72 dpi mode. There is no
>  >way to create a higher resolutions PDF. Am I wrong?
>
>  That's basically true of vector data (e.g. proper fonts, lines,
>  etc).  However udig doesn't render directly to PDF as far as I can
>  tell (or maybe that's just the way I'm using it with
>  ApplicationGIS.drawMap).  Instead udig renders to an image, and that
>  image is then placed into a pdf document.  So your information about
>  iText isn't really relevant in this case, I think.

Not so sure about that. You can create an image of 300 dpi, but when
it goes into a pdf it will be lowered in resolution.

>  In any case I see the same problem whether I'm rendering to pdf or to
>  an image, but I suspect that's because under the hood I'm always
>  really rendering to an image.

You can be sure on that. I helped Jesse and wrote the itext wrapping
part and yes it is an image that is rendered to the pdf.
This had to be like that because else we would not be able to render
raster data.

Ciao
Andrea







>
>
>
>  regards,
>
>  Vince.
>
>  _______________________________________________
>  User-friendly Desktop Internet GIS (uDig)
>  http://udig.refractions.net
>  http://lists.refractions.net/mailman/listinfo/udig-devel
>


More information about the udig-devel mailing list