Opened 17 years ago

Closed 16 years ago

#1467 closed defect (fixed)

[PATCH] Add nodata value/transparency support to GIF file creation

Reported by: hannah.valbonesi@… Owned by: Mateusz Łoskot
Priority: high Milestone: 1.5.0
Component: GDAL_Raster Version: 1.4.0
Severity: normal Keywords: gif nodata
Cc: warmerdam

Description (last modified by warmerdam)

GIF writing currently does not have any kind of nodata value support, but this can be done in the form of a 'transparent' value (I believe it is actually called a 'background' value). It would likely be implemented similarly to the PNG nodata value support in its CreateCopy method.

Attachments (1)

gdal_svn_gif_transparency_bug1467.patch (2.7 KB ) - added by Even Rouault 17 years ago.

Download all attachments as: .zip

Change History (7)

comment:2 by warmerdam, 17 years ago

Description: modified (diff)
Priority: highestnormal

comment:3 by Even Rouault, 17 years ago

Patch enclosed that implements transparency (graphic bloc extension, no 'background')

by Even Rouault, 17 years ago

comment:4 by warmerdam, 17 years ago

Cc: warmerdam added
Description: modified (diff)
Keywords: gif added
Milestone: 1.5.0
Owner: changed from warmerdam to Mateusz Łoskot
Priority: normalhigh

Matuesz,

Could you please review and apply this patch along with an appropriate addition to the test suite? Trunk only I thik.

comment:5 by Even Rouault, 16 years ago

Summary: Add nodata value/transparency support to GIF file creation[PATCH] Add nodata value/transparency support to GIF file creation

comment:6 by Mateusz Łoskot, 16 years ago

Status: newassigned

comment:7 by Mateusz Łoskot, 16 years ago

Keywords: nodata added
Resolution: fixed
Status: assignedclosed

Patch applied and autotest updated accordingly (r12946). Thanks to Hannah for the idea and to Even for the patch.

Note: See TracTickets for help on using tickets.