[Mapserver-users] Raster support - JPG problem

Norman Norman
Tue Jan 14 22:06:17 EST 2003


Zatorsky MichaelP writes:

> Hi,
> 
> I have a number of raster images of topographic maps in jpeg (JPG) format. 
> 
> I am currently using MapServer 3.6.3 with GDAL support (pre-compiled Windows binaries) and GIF output.
> 
> When I attempt to load the image into MapServer as a layer


> ... I receive the following error message:
> 
> CGI Error
> The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:
> 
> 
> JPEG parameter struct mismatch: library thinks size is 432, caller expects 464

Hmm.. It looks like the jpeg tiff libraries mapserver is using were not compiled with 
the same compiler flags in the Windows binary disribution

FWIW - usually compile GDAL with the internal version of these libraries
thus insuring that they have the same data layout size and obliviating
the need for sepaate dll's
MapServer seems to run just find doing it this way

Cheers

Norman



More information about the mapserver-users mailing list