[mapserver-users] libpng error: image size exceeds user limits in IHDR

Alessandro Pasotti apasotti at gmail.com
Tue Oct 23 12:25:19 PDT 2012


2012/10/23 Andrea Peri <aperi2007 at gmail.com>:
> Hi,
>
> Perhaps something correlated to the bit of colors ? The GIF is a 256 only
> color format.
> Instead the png could be to million colors.

Thanks for the hint, but I believe it's something related to the
libraries or the python bindings on the server: I have a copy which
works perfeclty locally, the OUTPUTFORMAT AGGA is working well here
but crashes on the server.

I suspect that the function

png_set_IHDR(png_ptr, info_ptr, rb->width, rb->height,...

get wrong width and height.



-- 
Alessandro Pasotti
w3:   www.itopen.it


More information about the mapserver-users mailing list