Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6704 Discussions

Does IPP 7.0 TIFF format support B&W format and zip or jpeg compression?

viviansuda
Beginner
351 Views
Does IPP 7.0 support TIFF B&W format? Because when I use PICNIC.exe to open a B&W TIFF,it shows the MessageBox showing "Error Reading Tiff".
Also does IPP 7.0 support TIFF zip or jpeg compression format?
0 Kudos
7 Replies
Chuck_De_Sylva
Beginner
351 Views
Can you provide the image?
0 Kudos
viviansuda
Beginner
351 Views
Can you provide the image?

Here's the TIFF picture.
0 Kudos
Naveen_G_Intel
Employee
351 Views

Hi,

Can you test with different .tif images, because it works fine with other .tiff images.

Regards,

Naveen Gv

0 Kudos
Sergey_K_Intel
Employee
351 Views
Quoting viviansuda
Can you provide the image?

Here's the TIFF picture.

Hi,
as you can see from uic_tiff_dec.cpp:ReadHeader function TIFF decoder doesn't support any TIFF compressions other than tag=1 (uncompressed).
Regarding BW format, I see that UIC does not support it properly and appropriate error exit/diagnostics will be added.

There are no plans to extend TIFF support.

Regards,
Sergey

0 Kudos
levicki
Valued Contributor I
351 Views
I am curious... why did you create such a useless TIFF support in the first place?
0 Kudos
Pavel_V_Intel
Employee
351 Views
As a simple and widely supported intermediate storage container.
0 Kudos
levicki
Valued Contributor I
351 Views
Baseline TIFF reader must support at least the following:
- uncompressed
- CCITT Group 3 1-Dimensional Modified Huffman RLE
- PackBits
See here for a list of features that must be supported in a baseline implementation of TIFF codec:
http://en.wikipedia.org/wiki/Tagged_Image_File_Format#Compression

Additionally, most common use of TIFF in imaging software is with LZW compression. If at least LZW compression is not supported by the TIFF codec then it is completely useless.
See here for the list of compression formats and how often each one of them is used:
http://en.wikipedia.org/wiki/Tagged_Image_File_Format#TIFF_Compression_Tag
0 Kudos
Reply