Opened 20 years ago
Last modified 20 years ago
#407 closed defect (fixed)
GIF Transparency not always recognised.
Reported by: | warmerdam | Owned by: | warmerdam |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
GDAL does not seem to recognise the transparent color in the attached gif file even though GD does seem to handle it properly.
Attachments (1)
Change History (2)
by , 20 years ago
comment:1 by , 20 years ago
It seems that GD was assuming that the background should be treated as transparent if no specific transparent color was given in an extension block. I have modified the driver to report the "SBackgroundColor" as NODATA but not to alter the trasnparency of the color table entry. Also modified MapServer to recognise NODATA settings for greyscale and colormapped single band input rasters (not going through scaling).
Note:
See TracTickets
for help on using tickets.
Partially transparent gif file.