[FFmpeg-devel] [PATCH]Write TIFFTAG_EXTRASAMPLES for pix_fmts containing transparency
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Aug 30 10:11:07 CEST 2012
Carl Eugen Hoyos <cehoyos <at> ag.or.at> writes:
> The tiff specification requires the TIFFTAG_EXTRASAMPLES tag to be written if
> SamplesPerPixel is larger than what PhotometricInterpretation would indicate.
This is missing the (trivial) change to tiff.h:
diff --git a/libavcodec/tiff.h b/libavcodec/tiff.h
index 0abeb8c..6d760f0 100644
--- a/libavcodec/tiff.h
+++ b/libavcodec/tiff.h
@@ -69,6 +69,7 @@ enum TiffTags{
TIFF_TILE_LENGTH = 0x143,
TIFF_TILE_OFFSETS = 0x144,
TIFF_TILE_BYTE_COUNTS = 0x145,
+ TIFF_EXTRASAMPLES = 0x152,
TIFF_YCBCR_COEFFICIENTS = 0x211,
TIFF_YCBCR_SUBSAMPLING = 0x212,
TIFF_YCBCR_POSITIONING = 0x213,
More information about the ffmpeg-devel
mailing list