Ticket #1467 (closed defect: fixed)

Opened 2 years ago

Last modified 9 months ago

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

Reported by: hannah.valbonesi@safe.com Assigned to: mloskot
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

gdal_svn_gif_transparency_bug1467.patch (2.7 kB) - added by rouault on 08/13/07 05:59:43.

Change History

03/26/07 23:28:12 changed by warmerdam

  • priority changed from highest to normal.
  • description changed.

08/13/07 05:59:23 changed by rouault

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

08/13/07 05:59:43 changed by rouault

  • attachment gdal_svn_gif_transparency_bug1467.patch added.

08/20/07 14:51:43 changed by warmerdam

  • description changed.
  • cc set to warmerdam.
  • priority changed from normal to high.
  • owner changed from warmerdam to mloskot.
  • milestone set to 1.5.0.
  • keywords set to gif.

Matuesz,

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

10/12/07 13:06:10 changed by rouault

  • summary changed from Add nodata value/transparency support to GIF file creation to [PATCH] Add nodata value/transparency support to GIF file creation.

11/15/07 11:17:53 changed by mloskot

  • status changed from new to assigned.

11/22/07 19:12:56 changed by mloskot

  • keywords changed from gif to gif nodata.
  • status changed from assigned to closed.
  • resolution set to fixed.

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