{"comment":{"created_at":"2011-10-11T08:08:16Z","body":"[springmeyer] nice catch marcin. so, I will close this as dupe of #50 (see patch there - that needs review). Marcin, feel free to commit that patch if it looks good to you, or revise.","updated_at":"2011-10-11T08:08:16Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/comments/2358450","id":2358450,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"}},"action":"created","issue":{"number":686,"created_at":"2011-10-11T08:08:14Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"Here's how I produce the issue :\r\nStep 1 :\r\nGenerate a large png tile in png256 mode.\r\nStep 2 :\r\nUse the previously generated large tile as a raster source (Gdal plugin, default symbolizer) for a new image rendered as png256 too.\r\n=> the resulting image is in a poor gray scale.\r\n\r\nDoing this in standard png doesn't have any trouble.\r\n\r\nWith suggestion of Marcin Rudowski, I tried to set the image type as \"png256:m=h\" with no visible changes in the resulting images.\r\n\r\nHere is a compressed file with 2 rasters and a tile extracted out of each raster. One couple raster/tile is standard png, the other is png256 (not \"png256:m=h\").\r\nhttp://www.mediafire.com/?w2883d8wn2g72 (30.38 Mo)\r\n(raster's projection is EPGS:900913 Google spherical mercator)","comments":3,"title":"png256 rasters becoming black and white","updated_at":"2011-10-11T08:08:16Z","url":"https://api.github.com/repos/mapnik-org/mapnik/issues/686","id":1872359,"assignee":null,"milestone":null,"closed_at":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/941f68386168a8a6b60f2529a7830af7?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/artemp","id":59056,"login":"artemp"},"html_url":"https://github.com/mapnik-org/mapnik/issues/686","labels":[{"name":"Agg_Renderer","url":"https://api.github.com/repos/mapnik-org/mapnik/labels/Agg_Renderer","color":"FFFFFF"}],"state":"open"},"legacy":{"issue_id":1872359,"comment_id":2358450}}