Opened 15 years ago
Last modified 15 years ago
#2945 closed defect
GDAL/JPEG driver in MapServer 5.2.x fails — at Version 1
Reported by: | jratike80 | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer CGI | Version: | unspecified |
Severity: | normal | Keywords: | outputformat |
Cc: |
Description (last modified by )
With Mapserver versions 5.2.0, 5.2.1 and 5.3-dev on Windows XP and obtained from MS4W and FWTools packages, having the following outputformat in mapfile leads to error:
OUTPUTFORMAT NAME "jpeg" MIMETYPE "image/jpeg" DRIVER "GDAL/JPEG" EXTENSION "jpg" IMAGEMODE RGB END
The error, captured from ms errorfile is:
[Tue Mar 17 14:03:47 2009].478000 msSaveImageGDAL(): General error message. Failed to create output JPEG file. JPEG driver doesn't support 4 bands. Must be 1 (grey) or 3 (RGB) bands.
Simple mapfile is included.
Change History (2)
by , 15 years ago
Attachment: | outputformat_test.map added |
---|
comment:1 by , 15 years ago
Description: | modified (diff) |
---|---|
Keywords: | outputformat added |
Owner: | changed from | to
Note:
See TracTickets
for help on using tickets.
MS mapfile that gives an error