Patch for saving compressed .tiff images (Patch #1080)
Description
Currently OpenCV uses libtiff for reading, but has its own implementation for writing .tiff files.
This patch makes OpenCV use libtiff for writing too. I have turned on the compression (LZW) and prediction (horizontal) flags, which creates significantly smaller files than the built-in encoder.
It could be enhanced by using the params to let the user specify certain TIFF flags.
Associated revisions
Added writing of compressed tiffs using libtiff library (patch #1080, thanks to Pieter-Jan Busschaert)
Merge pull request #1080 from hhofbaue:matchTemplate_bugfix
History
Updated by Ilya Lysenkov almost 14 years ago
- Status deleted (
Open)
Updated by Ilya Lysenkov almost 14 years ago
Thank you a lot! I've applied your patch in -r5318 with minor changes.
- Status set to Done
- (deleted custom field) set to fixed
Updated by Andrey Kamaev over 12 years ago
- Tracker changed from Feature to Patch