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

2011-04-21 Thread Christy Nieman

Thomas,

Sorry it took me awhile to respond - I'd left things compiling when I 
went home last night, and it failed, so I had to fix it and get it going 
again this morning.  With libpng 1.5.3 beta3 and mapserver 6.0 beta 7 
(since it was released before I fixed things this morning), everything 
now seems fine.


Christy

On 04/21/2011 04:59 AM, thomas bonfort wrote:

Christy,
Can you confirm that the bug disappeared with the latest libpng beta ?

--
thomas

On Wed, Apr 20, 2011 at 16:39, Christy Nieman  wrote:

Aha, thanks Thomas.  I hadn't found that.

On 04/20/2011 10:28 AM, thomas bonfort wrote:

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
  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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


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

2011-04-20 Thread thomas bonfort
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  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@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users