[mapserver-users] color. jpegs not showin up

Tyler Mitchell TMitchell at lignum.com
Wed Feb 13 13:51:48 EST 2002


But your mapserver isn't configured to display jpeg support.  When you do:
> mapserv -v
you need to have it saying OUTPUT=JPEG in order for mapserver to create
images in that format.  GDAL will allow you to READ JPEG images for mapserv
to display them.  But mapserver needs to be configured to display/output
them.  If you don't want to recompile mapserver, then switch to using PNG
files instead since it is already supported  in your mapserver program.
I'm not sure what is involved, but there is an image type setting in your
map file that specifies which format to use.   I suspect it is set to JPEG
right now - try changing it to PNG.

Tyler


                                                                                                                                   
                    Pushkar Pradhan                                                                                                
                    <pushkar at ERC.MsState.Edu>           To:     mapserver-users at lists.gis.umn.edu                                  
                    Sent by:                            cc:                                                                        
                    owner-mapserver-users at lists.g       Fax to:                                                                    
                    is.umn.edu                          Subject:     [mapserver-users] color. jpegs not showin up                  
                                                                                                                                   
                                                                                                                                   
                    02/13/2002 09:07 AM                                                                                            
                                                                                                                                   
                                                                                                                                   




I am using gdal 1.1.5 to display 24, 8 bit TIFFs. As suggested by Frank
Warmerdam I got my TIFFs to display after I compiled gdal after
configuring it with internal tiff and geotiff libraries.
However I still get an error when I try to display colored jpegs:
drawJPEG(): Image handling error. JPEG support is not available.
These are my configs:
Banshee[20] pushkar$ mapserv -v
MapServer version 3.5 OUTPUT=PNG OUTPUT=WBMP SUPPORTS=TTF INPUT=EPPL7
INPUT=GDAL INPUT=SHAPEFILE
Banshee[99] pushkar$ gdal-config --formats
gxf gtiff hfa aigrid aaigrid ceos ceos2 iso8211 sdts raw dted mem jdem
envisat elas fit gif jpeg png
I have disabled jpeg support in mapserv, and my gdal is configured
to handle it. Still doesn't work?
If anyone has experience with this please help. Thanks,

------------------------------------------------------------------------------

PUSHKAR S. PRADHAN
Research Assistant
MISSISSIPPI STATE UNIVERSITY,
STARKVILLE, MS 39759.

Engineering Research Center
Box 9627
Mississippi State, MS 39762-9627
------------------------------------------------------------------------------









More information about the mapserver-users mailing list