[mapserver-users] Fwd: PHP-MapScript: saveImage and imagetype
Steve Lime
steve.lime@dnr.state.mn.us
Wed, 24 Jul 2002 08:42:53 -0500
This is a MIME message. If you are reading this text, you may want to
consider changing to a mail reader or gateway that understands how to
properly handle MIME multipart messages.
--=_D488DA10.7011725F
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--=_D488DA10.7011725F
Content-Type: message/rfc822
Received: from mail.state.mn.us
(state.mn.us [156.99.125.109])
by co5.dnr.state.mn.us; Thu, 18 Jul 2002 09:09:39 -0500
Return-Path: <gs@wigeogis.at>
Received: from lists.gis.umn.edu by mail.state.mn.us with ESMTP for steve.lime@dnr.state.mn.us; Thu, 18 Jul 2002 09:09:38 -0500
Received: from wigeogis.at (mail.wigeogis.at [194.96.2.188])
by lists.gis.umn.edu (8.9.3+Sun/8.9.1) with ESMTP id JAA15401
for <mapserver-info@lists.gis.umn.edu>; Thu, 18 Jul 2002 09:10:28 -0500 (CDT)
Received: from pcgs (pcgs.wigeonet.at [10.1.1.66])
by wigeogis.at (8.11.6/8.11.6/SuSE Linux 0.5) with SMTP id g6IEqB505498
for <mapserver-info@lists.gis.umn.edu>; Thu, 18 Jul 2002 16:52:11 +0200
Message-Id: <3.0.5.32.20020718160931.009e2bb0@mail.wigeogis.at>
X-Sender: gs@mail.wigeogis.at
X-Mailer: QUALCOMM Windows Eudora Light Version 3.0.5 (32)
Date: Thu, 18 Jul 2002 16:09:31 +0200
To: mapserver-info@lists.gis.umn.edu
From: Gerhard Schimon <gs@wigeogis.at>
Subject: PHP-MapScript: saveImage and imagetype
X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
A few days ago I installed PHP-Mapscript vers. 3.6.2 from
www2.dmsolutions.on.ca
Until then I was working with vers. 3.5
Everything works fine except when using $image->saveImage("", MS_PNG, 0, 0,
40).
The output alway is a GIF-File, no matter what imagetype I use.
I also changed the IMAGETYPE-Value in the .map-file -> no change.
My System is Windows2000 and phpinfo() says:
MapScript Version ($Revision: 1.104.2.4 $ $Date: 2002/07/08 20:04:58 $)
MapServer version 3.6.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
SUPPORTS=PROJ SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT
INPUT=EPPL7 INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
What can I do to change the output-type?
Thanks
Gerhard
--=_D488DA10.7011725F--