Opened 18 years ago
Last modified 14 years ago
#1594 closed defect
24-bit RGB KEYIMAGE is displayed wrong when output image is 8-bit — at Initial Version
Reported by: | Owned by: | warmerdam | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | 4.8 |
Severity: | normal | Keywords: | legend keyimage |
Cc: |
Description
This only happens when KEYSIZE in not default ("20 10"). Sample map file: MAP NAME DEMO STATUS ON SIZE 600 600 UNITS METERS SHAPEPATH "data" FONTSET "fonts.txt" EXTENT -72493.34 5453045.5 100000 8922059.5 IMAGECOLOR 255 255 255 IMAGETYPE png PROJECTION "init=epsg:32633" END WEB HEADER demo_header.html TEMPLATE demo.html FOOTER demo_footer.html IMAGEPATH "/usr/local/apache/htdocs/tmp/" IMAGEURL "/tmp/" END LEGEND STATUS EMBED POSITION UR KEYSIZE 49 139 END LAYER NAME "msgSST" DATA "SST.tif" TYPE RASTER STATUS default DEBUG ON OFFSITE 255 255 255 PROJECTION "proj=stere" "lat_0=40" "lon_0=0" END CLASS NAME "" KEYIMAGE 'data/msgSSTcolor.png' END END END
Note:
See TracTickets
for help on using tickets.
The 24-bit keymap