[Mapserver-users] defining imageformats
niklas wörmann
nwoe at privat.utfors.se
Thu Jul 3 08:42:53 PDT 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0025_01C3418A.87E4FFD0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
----- Original Message -----=20
From: "Frank Warmerdam" <warmerdam at pobox.com>
To: "niklas w=F6rmann" <nwoe at privat.utfors.se>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Thursday, July 03, 2003 5:21 PM
Subject: Re: [Mapserver-users] defining imageformats
niklas w=F6rmann wrote:
> Hi!
> my map file contains the following
>=20
> OUTPUTFORMAT
> NAME "jpg80"
> DRIVER "GD/JPEG"
> IMAGEMODE RGB
> FORMATOPTION "QUALITY=3D80"
> EXTENSION "jpg"
> END
>=20
> and
>=20
> IMAGETYPE "jpg80"
>=20
-----
Niklas,
I have tried this with MapServer 4 and no problems. Note that you don't
normally need to quote the name passed to NAME or IMAGETYPE, but you =
can.
Is it possible you are using a 3.6 based MapServer, not MapServer 4 =
(previously
3.7)?
Hi!
You are right, i am using 3.6.6.
I take it it wont work under 3.6.6 then?
niklas
------=_NextPart_000_0025_01C3418A.87E4FFD0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>----- Original Message ----- </FONT>
<DIV><FONT face=3DArial size=3D2>From: "Frank Warmerdam" <</FONT><A=20
href=3D"mailto:warmerdam at pobox.com"><FONT face=3DArial=20
size=3D2>warmerdam at pobox.com</FONT></A><FONT face=3DArial =
size=3D2>></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>To: "niklas w=F6rmann" <</FONT><A=20
href=3D"mailto:nwoe at privat.utfors.se"><FONT face=3DArial=20
size=3D2>nwoe at privat.utfors.se</FONT></A><FONT face=3DArial =
size=3D2>></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Cc: <</FONT><A=20
href=3D"mailto:mapserver-users at lists.gis.umn.edu"><FONT face=3DArial=20
size=3D2>mapserver-users at lists.gis.umn.edu</FONT></A><FONT face=3DArial=20
size=3D2>></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Sent: Thursday, July 03, 2003 5:21 =
PM</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Subject: Re: [Mapserver-users] defining =
imageformats</FONT></DIV></DIV>
<DIV><FONT face=3DArial><BR><FONT size=3D2></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>niklas w=F6rmann wrote:<BR>> =
Hi!<BR>> my map=20
file contains the following<BR>> <BR>>=20
OUTPUTFORMAT<BR>> NAME=20
"jpg80"<BR>> DRIVER=20
"GD/JPEG"<BR>> IMAGEMODE=20
RGB<BR>> FORMATOPTION=20
"QUALITY=3D80"<BR>> EXTENSION =
"jpg"<BR>> =20
END<BR>> <BR>> and<BR>> <BR>> IMAGETYPE "jpg80"<BR>>=20
<BR>-----<BR><BR>Niklas,<BR><BR>I have tried this with MapServer 4 and =
no=20
problems. Note that you don't<BR>normally need to quote the name =
passed to=20
NAME or IMAGETYPE, but you can.<BR><BR>Is it possible you are using a =
3.6 based=20
MapServer, not MapServer 4 =
(previously<BR>3.7)?<BR><BR><BR>Hi!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>You are right, i am using =
3.6.6.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I take it it wont work under 3.6.6=20
then?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>niklas</FONT></DIV></BODY></HTML>
------=_NextPart_000_0025_01C3418A.87E4FFD0--
More information about the MapServer-users
mailing list