[mapserver-users] error: Unable to select IMAGETYPE `PNG'

Lime, Steve D (DNR) steve.lime at state.mn.us
Tue Jun 28 16:03:09 EDT 2011


You could create an output format named PNG to suit your needs. Not sure why that wouldn’t be there by default. I believe PNG would mean GD, 8-bit based output. AGGPNG24 should be defined by default and would provide the best quality.

Steve

From: Mukesh Subedee [mailto:msubedee at yahoo.com]
Sent: Thursday, June 23, 2011 11:19 AM
To: Lime, Steve D (DNR); mapserver mailing list
Subject: Re: [mapserver-users] error: Unable to select IMAGETYPE `PNG'

Thanks Steve.

I had tried both, PNG8 and PNG24 but no luck. I am using MapServer 5.6.5 as I'd already installed the same version in couple of machines before and I did not get any problem. Could there be any other issue that I missed/overlooked?

Mukesh

________________________________
From: "Lime, Steve D (DNR)" <steve.lime at state.mn.us>
To: Mukesh Subedee <msubedee at yahoo.com>; mapserver mailing list <mapserver-users at lists.osgeo.org>
Sent: Thursday, June 23, 2011 7:25:45
Subject: RE: [mapserver-users] error: Unable to select IMAGETYPE `PNG'
Try PNG8 or PNG24 (assuming this is 6.0).

Steve

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Mukesh Subedee
Sent: Wednesday, June 22, 2011 6:56 PM
To: mapserver mailing list
Subject: [mapserver-users] error: Unable to select IMAGETYPE `PNG'

Hi all,

I am trying to set up a new MapServer in a Ubuntu 10.04 machine. I 've installed and configured all the necessary/required components (including libpng-1.2.18). While configuring MapServer, I have included libpng package as well and my ./configure shows:
configure: checking where PNG is installed...
checking for png_init_io in -lpng... yes
        using libpng from system libs.

However, while I check ./mapserv -v, I could not find OUTPUT=PNG and am getting the error: msPostMapParseOutputFormatSetup(): General error message. Unable to select IMAGETYPE `PNG'.

I am not sure what went wrong during installation/configuration. I checked mail archives but could not find the exact solution (but have tried for some of the solutions found in Web). Please let me know if you have resolved this problem.

Thanks,
Mukesh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20110628/ba1578c6/attachment.html


More information about the mapserver-users mailing list