Change image resolution in mapfile

Pericles S. Nacionales naci0002 at UMN.EDU
Wed Jan 25 13:02:33 PST 2006


The 72, 96, or 300 dpi numbers have no real meaning in digital 
images--what matters is the dimensions of the image itself.  The dpi 
stuff matters when sending the image to an output (display or hardcopy 
prints).  Think of it this way, a 24000x24000-pixel image will come out 
to be 333.33x333.33 inches in 72dpi display (printout, whatever), 
250x250 inches at 96dpi, and 80x80 inches at 300dpi.  Follow the pattern?

You can set your image size parameters (the target DPI, target output 
size, or the pixel dimensions) in PhotoShop, the Gimp (with gimp-print), 
any decent image manipulation software, or in the printer settings.

Here's a little more info for you, from the world of digital 
photography: http://www.normankoren.com/pixels_images.html#Imageres

Cheers!
-Perry

krishna S wrote:

>I want an exactly 300 dpi map, so do you mean to set the mapsize to
>24000X24000 pixels ....
>
>Thanks for your reply ..
>  
>



More information about the MapServer-users mailing list