Dane, Sorry I forgot the most important informations. I use mapnik 0.7.1 and the raster plugin used is gdal. It's a C++ application I wrote above mapnik to generate images and I only changed the parameter "png" by "png256" for the render method. Then I regenerated all my rasters and tried to generate small tiles out of the raster with the same application. Those last tiles are in a poor quality of gray scale.
Nicolas -----Original Message----- From: Dane Springmeyer [mailto:[email protected]] Sent: Wednesday, January 05, 2011 7:07 PM To: Nicolas Gillet Cc: [email protected] Subject: Re: [Mapnik-users] png256 rasters becoming black and white Nicolas, What mapnik versions are you comparing? Dane On Jan 5, 2011, at 7:52 AM, Nicolas Gillet wrote: > > Dear List, > > I use Mapnik to generate large tiles as rasters. > Those rasters are then used to generate small tiles on demand. (with Mapnik > too) > > Up until now this worked fine but rendering all that in png lead to heavy > tiles. > I decided to switch then from png to png256. > > There comes the trick. > My rasters are still perfectly rendered but when rendering tiles out of > those rasters, the tiles are in black and white. This wasn't the case > previously. > > Is there an explanation to this and a workaround ? > > Thanks a lot for any hint. > > Nicolas > Gillet > -- > View this message in context: http://old.nabble.com/png256-rasters-becoming-black-and-white-tp30597301p305 97301.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 _______________________________________________ Mapnik-users mailing list [email protected] https://lists.berlios.de/mailman/listinfo/mapnik-users

