[mapserver-users] JPEG Error...

Marc Jacquin jacquin at geosys-inc.com
Fri Sep 27 06:06:58 PDT 2002


This is of course in Visual C++. You can also set up this parameter with the
/Zp1 option of the compiler.

-----Original Message-----
From: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu]On Behalf Of Marc Jacquin
Sent: vendredi 27 septembre 2002 14:46
To: MapServer List (E-mail)
Subject: RE: [mapserver-users] JPEG Error...

Chip,

This means that your JPEG lib has been compiled with a different structure
member alignment than MapServer CGI. On MS Windows it's better to set this
compiler parameter to 1 byte in Project Settings->C/C++->Code Generation. By
default it's 8 bytes.

HTH
Marc



-----Original Message-----
From: owner-mapserver-users at lists.gis.umn.edu
[mailto:owner-mapserver-users at lists.gis.umn.edu]On Behalf Of Hankley, Chip
Sent: mardi 24 septembre 2002 18:29
To: MapServer List (E-mail)
Subject: [mapserver-users] JPEG Error...

I'm getting the following error:

  JPEG parameter struct mismatch: library thinks size is 432, caller expects
464

When trying to load a JPEG image. I saw a post on this a month ago... but no
responses. Anyone know what this means? I get it w/ CGI or PHP MapScript.
Windows 2000 / IIS.

If appropriate...let me know and I file a bug.

My MapServer.exe:

MapServer version 3.6.0 OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP SUPPORTS=PROJ
SUPPORTS=TTF SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT INPUT=EPPL7
INPUT=POSTGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE

My MapScript:

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

Chip Hankley




More information about the MapServer-users mailing list