writing uncompressed tiff creates invalid file (Bug #4211)
Description
The imwrite(*,*,params) function takes TIFFTAG_COMPRESSION tags, but specifying TIFFTAG_COMPRESSION, COMPRESSION_NONE results in an invalid file as libtiff does not want a "predictor" set, see here:
http://expertland.net/question/b6o3n6p9a72341db823b48nl98m91dx8n1/detail.html
Associated revisions
Merge pull request #4211 from alalek:fix_python_2_4
History
Updated by Vadim Pisarevsky almost 10 years ago
- Category set to highgui-images
Updated by Philip L almost 10 years ago
PR was merged and ported to 3.0
- Status changed from New to Done
- % Done changed from 0 to 100