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

Alessandro Pasotti apasotti at gmail.com
Tue Oct 23 12:36:43 PDT 2012


2012/10/23 Alessandro Pasotti <apasotti at gmail.com>:
> 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.
>


Forgot to mention that shp2img on the mapfile saved from the script
runs with no errors.


-- 
Alessandro Pasotti
w3:   www.itopen.it



More information about the MapServer-users mailing list