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
0
votes
1 answer

BitMiracle.LibTiff.Net Converting oJPEG tiff to Bitmap results in a negative color image

I'm using the BitMiracle.LibTiff v2.4.560.0 to convert oJPEG tiffs to Bitmap. This has worked out great until just recently. A Tiff, that I tried converting, is a document with a white background and black text. After converting the tiff, the…
Shar1er80
  • 9,001
  • 2
  • 20
  • 29
0
votes
1 answer

Undefined references in TIFF library

I'm trying to compile Panotools for arm. I compiled all dependency libraries (TIFF, ZLIB, JPEG) but Panotools' configure is failing on libtiff: checking for TIFF support ... configure: tiff home set to /usr/local checking tiff.h usability...…
Alaa M.
  • 4,961
  • 10
  • 54
  • 95
0
votes
1 answer

Suppress libtiff popup messages in Visual C code

I have a Visual C++ console app linked with libtiff. When compiled in Debug mode, the app will send warning messages to the console. However, when compiled in Release mode, the app will show the messages in a popup dialog. Is there a setting to…
Chu Bun
  • 513
  • 1
  • 5
  • 17
0
votes
1 answer

LibTiff.net - Save Directory

I have massive tiff file that contains 8 directories (resolutions). It's also a tiled. I can cycle thru the directories and get the resolution of each. I want to save the 4th directory to a new tif file. I think it's possible but can't get my hands…
Matt
  • 169
  • 2
  • 6
0
votes
1 answer

Successfully installed georasters but unable to import

Not able to solve.Kindly clarify. I had installed georasters then it gave error with numpy ,now numpy is solved it is giving error with fiona. Traceback (most recent call last): File "", line 1, in import georasters File…
Shubham_geo
  • 368
  • 1
  • 4
  • 16
0
votes
0 answers

C++ libtiff creating compression of tiled tiff images doesn't work

I have been searching for a while know and I can't find a solution to solve my problem. I'm using libtiff library to write huge ( > 10Go) tiled images. Without any compression, everything works fine. But problems start when I try to compress the…
Piu
  • 1
  • 2
0
votes
1 answer

using vb.net and LibTiff to convert large tiff images

I'm using vb.net and LibTiff to convert large Tiff images, the good news is that the sample given on there site works: https://bitmiracle.github.io/libtiff.net/?topic=html/e4f25423-eede-4ef6-a920-9cb539d056c6.htm I'm using this to convert large…
Martin Cooke
  • 526
  • 1
  • 4
  • 18
0
votes
1 answer

libtiff version of OpenCV 2.3.1

OpenCV 2.3.1 uses libtiff as 3rd party library. And I want to know which version of libtiff is used for a security reason. But libtiff source code in opencv dose not show a version. What is libtiff version of OpenCV 2.3.1? Or is there any list of…
user6462594
0
votes
1 answer

Remove Page From Multipage TIFFs In Matlab

I have tiff files where I want to remove the even numbered pages. I have read other posts asking for the method in many different languages except for Matlab. How can this be done in Matlab?
Senyokbalgul
  • 1,058
  • 4
  • 13
  • 37
0
votes
1 answer

Failing to write tiles with YCBCR photometric in Libtiff.net

I'm using Libtiff.net to write tiled images into a tiff file. It works ok if Photometric is set to RBG, but if I use YCbCr (in order to reduce file size), I get the error "Application trasferred too few scanlines". Relevant pieces of code: …
Orphuio
  • 9
  • 2
0
votes
0 answers

How to create a TIFF file with tiles

I would like to create a large TIFF RGBA image using tiles. I wrote the following program which loops over the positions of the tiles, but the resulting image is always transparent. Why ? #include #include #include "tiffio.h" int…
Pierre
  • 34,472
  • 31
  • 113
  • 192
0
votes
1 answer

Libtiff not listed in library path on Win 7

After successfully installing libtiff on win7 I try to run: tif = TIFF.open("sometiff.tiff") I get the following error: File "C:\Python27\ArcGIS10.2\lib\site-packages\libtiff\libtiff_ctypes.py", line 41, in raise ImportError: Failed to…
Mr Mystery Guest
  • 1,464
  • 1
  • 18
  • 47
0
votes
1 answer

Segmentation fault on reading TIF file with python / opencv

Environment: centos 6.7 opencv 2.4.12 python 2.7 GNU libc 2.12 gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) uname output: Linux xxxx 2.6.32-573.18.1.el6.x86_64 #1 SMP xxx x86_64 x86_64 x86_64 GNU/Linux Clean download of 2.4.12 release and…
dgorissen
  • 6,207
  • 3
  • 43
  • 52
0
votes
0 answers

how to control TIFF image header's 1st IFD offset value while generating TIFF?

I would like to know is there a way to control the 4 byte data in TIFF image header which stores the 1st IFD offset value. I have a situation, when I scan three different image and store directly into file system, it comes with the value [4949 002A…
Malavan
  • 31
  • 1
  • 6
0
votes
0 answers

R: How to install tiff package on OS X El Capitan

I am trying to install the R tiff package on Mac OS X El Capitan with a homebrew installation of R. Used this post R: How to install package tiff on Mac OS X Mavericks? to follow suggestions. R-version: > version _ …
bdanalytics
  • 55
  • 2
  • 10