[Mapserver-users] JPEG input

Ed McNierney ed at topozone.com
Wed Apr 2 05:22:22 PST 2003


Jan -

Please forgive my incomplete recollection, but I ran into this same problem a long time ago.  It appears that the JPEG library inside GDAL is built slightly differently than the default jpeg-6b library (although it's the same version), and the two are not compatible.  I suspected it was a structure packing/alignment issue (i.e. the files are the same but they're compiled differently).  I decided not to look into it and simply use the JPEG support from GDAL and remove the jpeg-6b library from my build.  That fixed the problem.

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
ed at topozone.com
(978) 251-4242 

-----Original Message-----
From: Jan Hartmann [mailto:jhart at frw.uva.nl]
Sent: Wednesday, April 02, 2003 6:19 AM
To: mapserver-users at lists.gis.umn.edu
Subject: [Mapserver-users] JPEG input


Hello,

I'm trying to display a jpeg input image and get the following error 
message:

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

Platform: Win2000, VC++
Mapserver: CVS, compiled with and without JPEG input support (jpeg-6b)
GD: 2.0.11, compiled with jpeg-6b
GDAL: 1.1.8

I diffed the jpeg files under GDAL with the jpeg-6b distribution and 
found no differences. Yet there seems to be a version mismatch 
somewhere. Outputting JPEG is no problem. Has anyone any ideas?

Jan

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users




More information about the MapServer-users mailing list