Patch for saving compressed .tiff images (Patch #1080)


Added by Pieter-Jan Busschaert almost 14 years ago. Updated over 12 years ago.


Status:Done Start date:
Priority:High Due date:
Assignee:Ilya Lysenkov % Done:

0%

Category:highgui-images
Target version:-
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

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.


libtiff_save.patch (4.2 kB) Pieter-Jan Busschaert, 2011-05-20 04:56 pm


Associated revisions

Revision 8e93fcbe
Added by Ilya Lysenkov almost 14 years ago

Added writing of compressed tiffs using libtiff library (patch #1080, thanks to Pieter-Jan Busschaert)

Revision f0c7cce8
Added by Roman Donchenko over 11 years ago

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

Also available in: Atom PDF