summaryrefslogtreecommitdiff
path: root/tests/tiff/tiff_read_bw.c
Commit message (Collapse)AuthorAgeFilesLines
* convert all files to native line encodingsMike Frysinger2018-06-211-26/+25
| | | | | | A bunch of these files were committed with Windows line encodings. Strip all those ^M gremlins out as people working on Windows can use git's autocrlf setting to convert back and forth as needed.
* Fix and reenable optimized support for reading 1 bps TIFFsChristoph M. Becker2017-01-251-0/+26
Due to #82 the optimized support for reading 1 bps TIFF files (black & white) had been disabled. Tony Lew already pointed out a fix in #88. Furthermore, there was the following missing and improper error handling: * TIFFReadScanline() returns -1 on error, not 0 * the result of TIFFReadTile() hasn't been checked * in case of failure of these functions, the error had not been propagated We fix this, and re-enable direct support for 1 bps TIFFs, which is more memory efficient than the general RGBA support. We also make sure not to hit any not yet implemented code path.