[mapserver-users] malformed PNGs

Lowell.Filak lfilak at medinaco.org
Tue Aug 13 04:12:24 PDT 2002


If you already have
$ENV{MS_ERRORFILE} = "/var/log/mapserver.log"
near the top of your perl script does the log show an error while
rendering any of the layers?
Lowell F.

On Mon, 12 Aug 2002, Puneet Kishor wrote:

> I am getting malformed PNGs... they are being made all right, but they are
> only about 3 to 4 k in length. The browser is unable to show them, and of
> course, opening them with an image application gives an error... "Not a
> valid PNG file".
>
> Any idea why?
>
> I am using ms3.5 with Perl/Mapscript.
>
> the machine I am developing on, a beatup box with RH 7.2, works just fine
> for a PHP Mapscript application.
>
> pk/
>




More information about the MapServer-users mailing list