Display JPEG and TIF

Frank Warmerdam fwarmerdam at GMAIL.COM
Fri Jan 14 14:24:45 EST 2005


On Fri, 14 Jan 2005 12:22:54 -0600, Juan Baron <jbarong at hotmail.com> wrote:
> I am trying to show some images jpeg or tif using a layer raster, I
> generate the wld and 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.

Juan,

If you want to work with 24bit RGB TIFF or JPEG
files you will need to use a MapServer that includes
GDAL support.  The legacy TIFF and JPEG
drivers have some severe limitations which
you are running into.

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