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
0 answers

Negative Grayscale values in TIFF file are white

I am using the LibTiff.NET library from BitMiracle to process some TIFF image files. I need to translate the grayscale value of each pixel according to a standardisation formula, this formula will result in negative pixel values. I changed the…
Molloch
  • 2,261
  • 4
  • 29
  • 48
0
votes
0 answers

Editing TIFF Tag

For editing tags in a tiff file, I wrote the below code but the source file did not change. TIFF *tif= TIFFOpen("new.tif", "r+"); QString temp = "new artist"; TIFFSetField (tif, TIFFTAG_ARTIST, temp.c_str()); void* val; TIFFGetField (tif,…
0
votes
1 answer

Convert 8 bit persample to 1 bit per sample image

I have 8 bit per sample image grayscale. I want to convert it using Libtiff.net: using (Tiff input = Tiff.Open(fileIn, "r")) { using (Tiff output = Tiff.Open(fileOut, "w")) { for…
davymartu
  • 1,393
  • 3
  • 15
  • 34
0
votes
0 answers

PHP Warning: PHP Startup: Unable to load dynamic library ... Cannot allocate memory

I get this error after using simple commands like php -i or php -v. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20100525/imagick.so' - libtiff.so.3: failed to map segment from shared…
Boy
  • 1,182
  • 2
  • 11
  • 28
0
votes
2 answers

Xcode does not recognize TIFF functions

I have been trying to run a code that uses tiffutils to handle TIFF images. I am encountering the good old "Undefined symbols for architecture x86_64, that has already come up multiple times here. However, none of the threads were helpful in solving…
GuyTal
  • 207
  • 5
  • 17
0
votes
1 answer

LibVIPS crashing when processing 3.9gb tiff image

I'm currently working on a project where I have an image of around 3.9gb. I want to create a google maps like view for this image (which is something LibVIPS can generate) by executing the following command: vips-dev-8.1.1\bin\vips.exe dzsave…
Devedse
  • 1,801
  • 1
  • 19
  • 33
0
votes
0 answers

Integer divide by zero after call to TIFFWriteEncodedStrip on Windows

From Python 2.7, I'm using pylibtiff developed by Pearu Peterson. I have installed libtiff3.dll in my path etc. I know that pylibtiff and libtiff are more than 5 years old, but it allows me to control the writing of TIFF files more than I can do…
Dobedani
  • 508
  • 5
  • 20
0
votes
1 answer

QImage: Read 16-bit grayscale TIFF (Qt, C++)

I want to read 16-bit grayscale images using C++, Qt and libtiff. I've created the readTiff function (below) that reads data from tiff to QImage. However, there is a problem that QImage 5.5 doesn't support 16-bit grayscale. And if I use RGB16, I'll…
Michal
  • 1,955
  • 5
  • 33
  • 56
0
votes
1 answer

How can I save images using this LibTIFF javascript library called Tiff.js?

Right now I have a multi-image TIFF loading in Node.js using the Tiff.js library. The Tiff.js library allows me to open a multi-image Tiff and select an image by using the setDirectory command. Any ideas on how to save each of the images on the…
Daniel Kobe
  • 9,376
  • 15
  • 62
  • 109
0
votes
1 answer

C++: Why does libtiff break the console-output?

So finally I’m not able to help myself out by researching anymore. Hopefully you can help me. I recently decided to learn C++ in the context of my bachelor-thesis: My first aim is to read the pixel-values of a tiff-image with the libtiff-library.…
JCh3ss
  • 43
  • 1
  • 1
  • 7
0
votes
1 answer

Canopy installation problems, a solution for TIF?

I've been starting with Python in Canopy Enthought for a little more than a month now. I'm struggling with installation at so many levels it drives me crazy. I want to install modules to deal with tif files, in order to create multiimage tof,…
Dam
  • 1
0
votes
1 answer

An invalid parameter error at msvcr120.dll (Building Tesseract Lib in 64bit Windows)

I have already raised the inquiry to Tesseract Forum, but whether I can have a clue for the error, I raise the issue at this forum again. As this is my favorite forum in solving the problems. I have a problem somehow related to the tesseract…
batuman
  • 7,066
  • 26
  • 107
  • 229
0
votes
1 answer

libtiff4 under Ubuntu14.04

With the release of Ubuntu14.04, Ubuntu is using libtiff5 and not libtiff4 any more. However some programs/libraries etc are still using libtiff4 and therefore do not work under 14.04 any longer. My question now, is there any way to install libtiff4…
snow
  • 71
  • 10
0
votes
1 answer

Can't link with libtiff in QT Creator/MSVC

I am trying to write an application that saves 16 bit tiffs. I use QT Creator and the QT API, but can't use the QT tiff features because of the 16 bit need. My application needs to work in both Windows and Linux. The Linux version works fine. …
jhowland
  • 365
  • 1
  • 5
  • 19
0
votes
1 answer

Is there any way to speed up extraction using tesseract OCR Engine, while tiff file is having 600-700 pages?

During processing of tiff files, which are having 600 - 700 pages from Tesseract OCR engine with hocr option, we monitored that files are taking around 40 - 50 minutes. We monitored that it is so much time for processing large files. Do we have any…