[FFmpeg-devel] [PATCH] tiff: remove tiff type check for ICC profiles

Lynne dev at lynne.ee
Sat Sep 5 22:23:12 EEST 2020


Although the ICC specifications say to check for this, libtiff doesn't
and neither does any other TIFF implementation, and the TIFF specs
say that Photoshop has a different way to encapsulate ICC profiles,
and are asking for advice on how to deal with it.

So basically, photoshop puts a different type than what's specified,
no other implementation checks for this, we do because we tried to
follow the specs although its harmless to not, and ran into this bug
because we didn't know about it.

Patch attached.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-tiff-remove-tiff-type-check-for-ICC-profiles.patch
Type: text/x-patch
Size: 1218 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200905/7f9a6c3f/attachment.bin>


More information about the ffmpeg-devel mailing list