Questions tagged [libtiff]

Open source, cross-platform library and tools for TIFF images.

Project homepage

This software provides support for the Tag Image File Format (TIFF), a widely used format for storing image data.

Included in this software distribution is a library, libtiff, for reading and writing TIFF, a small collection of tools for doing simple manipulations of TIFF images on UNIX systems, and documentation on the library and tools. A small assortment of TIFF-related software for UNIX that has been contributed by others is also included.

The library, along with associated tool programs, should handle most of your needs for reading and writing TIFF images on 32- and 64-bit machines. This software can also be used on older 16-bit systems though it may require some effort and you may need to leave out some of the compression support.

310 questions
5
votes
2 answers

Handling over 4gb textures (BigTiff) OpenGL

I am working on some HD imaging software and although very large textures are not currently planned for this version I wanted to do some future proofing. If i was dealing with very large textures (e.g. 1095630 x 939495), could I use standard…
chrispepper1989
  • 2,100
  • 2
  • 23
  • 48
5
votes
1 answer

Adding custom tags to a TIFF file

I’m quite new to libtiff, but I’ve managed to get tiff files saving and opening without much trouble. Now, I’m being ambitious and trying to add custom tags into my files. I’ve read the documentation (see here) and written some test code which…
Eos Pengwern
  • 1,467
  • 3
  • 20
  • 37
5
votes
1 answer

TIFF images: How 16bits-RGBA image pixels are interlaced?

I'm trying to deal with 16-bits per channel RGBA TIFF images through C language, I could not find a lot of information about 16-bits images in the specifications. In case of a 8-bits per channel RGBA image, I understand that a pixel is stored as a…
RémyA
  • 193
  • 8
5
votes
2 answers

search.h-No such file or directory while porting libtiff on Android-tiff 4.0.1

I am trying to port libtiff on Android. The source version I am using is tiff 4.0.1. I am building this source inside u1 android OS. I am getting the below error when I run mmm external/tiff 4.0.1/ In file included from…
Ankit Jain
  • 2,230
  • 1
  • 18
  • 25
4
votes
2 answers

Handling Group4 TIFF images in python

PIL doesn't natively support G4 images, is there some other python package that does? I need to read multi-page TIFF images and pull convert them into gif/png on the fly to serve up in a web page. (I'm not converting them all on the fly, but…
boatcoder
  • 17,525
  • 18
  • 114
  • 178
4
votes
1 answer

How to predict CMake's choice of LIBDIR on a given platform

In my application suite I build Libtiff from source and then link it to an application that I write myself. Libtiff's CMakeLists.txt files specify that the static libraries go into the library location CMAKE_INSTALL_FULL_LIBDIR, determined by…
Eos Pengwern
  • 1,467
  • 3
  • 20
  • 37
4
votes
1 answer

How to produce an Adobe DNG image from scratch with LibTiff

I am trying to generate an Adobe DNG file using libTiff from scratch for my specfic camera RAW files. For this I wrote an example to generate a DNG which should be completely black. However, i cannot open my result and i am suspecting that there is…
Daniel R.
  • 774
  • 1
  • 7
  • 19
4
votes
1 answer

Using LibTiff in Visual Studio 2010

I'm trying to use LibTiff in a C++ Program in Visual Studio 2010. I downloaded tiff-3.9.2.zip from ftp://ftp.remotesensing.org/pub/libtiff. To test LibTiff it would be nice if someone could give me a step by step instruction how to import libtiff to…
Van Coding
  • 24,244
  • 24
  • 88
  • 132
4
votes
0 answers

Getting undefined reference errors while installing Caffe in Ubuntu 15.10 - is it caused by libtiff?

I'm trying to install Caffe in Ubuntu 15.10. After cloning the Caffe repository, I copied Makefile.config.example to a new file, Makefile.config, and uncommented WITH_PYTHON_LAYER := 1 in line 91. Then, I executed cmake . make However, I get the…
4
votes
2 answers

Use libtiff in C# to convert from one TIFF format to another

I have a TIFF using JPEG format the WPF / C# can not handle via TiffBitmapDecoder. Our clients use the file format and our current C++ and Java code handles it. I need to convert this to a format I can display using TiffBitmapDecoder or standard…
Kevin
  • 51
  • 1
  • 3
4
votes
1 answer

Missing header tiffio.h installing Pillow on Mac OS X

When trying to install Pillow using PIP, I get this include error: μ ~: pip install pillow ... libImaging/TiffDecode.h:10:10: fatal error: 'tiffio.h' file not found #include ^ 1 error generated. error: command 'cc' failed…
Mike M. Lin
  • 9,992
  • 12
  • 53
  • 62
3
votes
2 answers

How to create a TIFF file that's readable by tesseract OCR?

I want to let tesseract ORC run over an image file, to scan the content. The problem seems to be that tesseract not only requires TIFF, but it also requires the tiff file to be in a certain format. With just a normal tiff file, I…
Stefan Steiger
  • 78,642
  • 66
  • 377
  • 442
3
votes
1 answer

LibTiff C# - Getting coordinates

I am using the LibTiff.NET library to load GeoTiff data in C# (inside Unity). **NOTE - I looked at GDAL also, but faced similar issues as outlined below, and would much prefer to use LibTiff if possible. I would ultimately like to be able to take a…
FacePuncher7
  • 139
  • 7
3
votes
0 answers

'Failed to find TIFF header file' error while importing libtiff library on windows

I am trying to open large size tiff files using libtiff library. However, I am getting the following error when trying to import libtiff File "c:\users\admin\appdata\local\programs\python\python36-32\lib\site-packages\libtiff\libtiff_ctypes.py",…
veda Lu
  • 31
  • 2
3
votes
1 answer

32bit tif image read and write using libtiff library. (c++)

I have a problem with reading and saving an 32 bit image using the LibTIFF library. In my code I have an array of uint32s representing the pixel values of the image. When I save these values to a tif file, it looks fine. However, when I try to…
S.shin
  • 61
  • 1
  • 7
1
2
3
20 21