[mapserver-users] Problems with png output when using libpng 1.5

thomas bonfort thomas.bonfort at gmail.com
Wed Apr 20 10:28:52 EDT 2011


Christy,
I suspect this is due to a bug in libpng. see
http://sourceforge.net/tracker/index.php?func=detail&aid=3288207&group_id=5624&atid=105624
.

On Wed, Apr 20, 2011 at 15:20, Christy Nieman <cnieman at dmsolutions.ca> wrote:
> Hi,
>
> I compiled MapServer 6.0 beta6 against libpng 1.5.2 and encountered the
> following problems:
>
> when using the default png IMAGETYPE (i.e. no OUTPUTFORMAT block), I got
> yellow & striped maps (see cyprus.png)
> when using the AGG/PNG driver and IMAGEMODE "RGBA", the output image looks
> fine
> when using the default png8 IMAGETYPE, the output image looks fine
>
> I also compiled with cairo, and with the driver set to CAIRO/PNG, I had the
> same yellow & striped maps.

rgba and png8 use different png formats. agg/png and cairo/png use the
same codepath when saving images, so the behavior your are observing
is normal.

>
> With libpng 1.2.44, everything seems to work properly.  Has anyone else seen
> this problem with libpng 1.5?  Should it work properly with MapServer?
>
> Regards,
> Christy
>
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>


More information about the mapserver-users mailing list