Hi,

it depends on which kind of map you generate. For a map without transparency 
you can use this command:
convert  -colors 255 <input> <output>

if you have transparency in your tiles, then you can play around with pngnq:
pngnq <input>

In the end you can decrease the filesize with optipng or pngcrush. For example: 
pngcrush <input> <output>

cheers,
Jürgen

-------- Original Message --------
Subject: [Mapnik-users]  Standard way to compress the PNG Tiles (02-Dez-2008 
10:38)
From:    riteshambastha <[EMAIL PROTECTED]>
To:      [EMAIL PROTECTED]

> 
> Hello, 
> 
> I am quite curious to know which solution does people use for compressing
> the PNG Tiles. I know its off the track question. I have generated tiles of
> 1.4 TB, and now I need to compress the PNGs. I generated 16-Bit PNGs, and I
> believe a 8bit compression will do for me. 
> 
> I tried using ImageMagick, but its not the best one available. I used this
> command to compress the PNGs: 
> 
> convert -depth 8 -type TrueColor $TmpFile PNG8:$NewFile
> 
> Your help will be highly appreciated.
> 
> Regards,
> Ritesh Ambastha
> -- 
> View this message in context: http://www.nabble.com/Standard-way-to-
> compress-the-PNG-Tiles-tp20788860p20788860.html
> Sent from the Mapnik - Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> Mapnik-users mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/mapnik-users


To: [EMAIL PROTECTED]
Cc: [email protected]


_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users

Reply via email to