Display JPEG and TIF

Frank Warmerdam fwarmerdam at GMAIL.COM
Mon Jan 17 11:42:24 EST 2005


> I install mapserver in the following way:
>
> ./configure --with-proj --with-ogr --with-gdal --with-postgis --with-ming -
> -with-wfs --with-wmsclient
>
> make
>
> When I execute "./mapserv -v", the result is:
>
> MapServer version 4.4.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=PDF SUPPORTS=FREETYPE INPUT=TIFF INPUT=EPPL7 INPUT=JPEG
> INPUT=SHAPEFILE
>
> but when I am trying to show some images jpeg or tif using a layer raster,
> it leaves me the following error:
>
> For the jpeg image:   drawJPEG(): Unable to access file. Only grayscale
> JPEG images are supported.
>
> For the tif image: Image handling error. Only colormapped and grayscale
> images are supported.
>
> Why??

Juan,

For one reason or another the mapserver you ran does not include
GDAL support.  Either you weren't really running the version you just
built, or the configuration of GDAL support did not work.   I would suggest
you check into both issues.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-users mailing list