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

How to compile a file which uses libtiff functions in C++ in windows?

I downloaded the required files from GNUWin32 LibTiff page. I didn't install it but used the lib and include to run my code. I want to make my code portable. Here is my basic C++ program taken from LibTiff documentation. File: abcd.cpp #include…
Tarun Maganti
  • 3,076
  • 2
  • 35
  • 64
0
votes
1 answer

How to calculate or get ROWSPERSTRIP, STRIPBYTECOUNTS, STRIPOFFSETS values from bitmap for tiff conversion in C#

Converting the image to tiff image with properties. Using bitmap object converting image to tiff. In bitmap object i am not able to find the values like STRIPOFFSETS, ROWSPERSTRIP, STRIPBYTECOUNTS. Please help me , how to get or calcualte these…
Krishna
  • 1
  • 2
0
votes
0 answers

Saved an image sequence as a Tiff file but cannot view or open it outside of Matlab

Im trying to save an image sequence as a Tiff file to be later used in another program. I read each image in, applied color thresholding to get the mask, and then append that to my 3d array that I initialized earlier. I read up on the Tiff class…
StuckInPhDNoMore
  • 2,507
  • 4
  • 41
  • 73
0
votes
0 answers

libtiff check failed when trying to build a library that depends on it

I am using ubuntu 18.04. I have libtiff5 installed (using sudo apt install libtiff5). When trying to build a library that depends on libtiff I get the following error: checking for TIFFOpen in -ltiff... no configure: error: libtiff check failed Any…
Priyatham
  • 2,821
  • 1
  • 19
  • 33
0
votes
1 answer

graphviz install fails with libtiff5_4.0.6-1ubuntu0.5_amd64.deb 404 Not Found

I tried sudo apt update followed by sudo apt install graphviz. But it failed with 404 Not found for libtiff5. So I tried installing libtiff5 separately sudo apt update sudo apt install libtiff5 gives Reading package lists... Done Building…
Saravanabalagi Ramachandran
  • 8,551
  • 11
  • 53
  • 102
0
votes
2 answers

libtiff x64 visual studio 2017 : Linker Issue

I tried to use nuget package for libtiff : => Package <= I wrote a little piece of code in order to read a multiframe image tif file. vector LibTiffReader::ReadMultiframeTiff(std::string FilePath) { vector Result; TIFF* tif =…
FrsECM
  • 245
  • 2
  • 16
0
votes
1 answer

Convert JPEG-In-Tiff to normal TIff

I have a directory structure containing 300 gigs worth of Tiff Images. Some are encoded as Jpeg-in-Tiff, others as "Group 4 fax encoding". I need to change the format of all to the later without losing my folder structures. Anyone have any ideas?
anon
  • 19
  • 1
0
votes
2 answers

How to write tiles on multi pages using LibTIFF

I am trying to write tiles on a multi-page tiff (pyramidal tiff) using LibTIFF: for(int pageNum=0; pageNum
YJJ
  • 45
  • 10
0
votes
2 answers

Trouble compiling libtiff 4.0 beta on linux

I'm trying to compile libtiff 4.0 beta to a static library on Ubuntu 10.10 using gcc. It seems to compile the libjpeg and libz fine, which are dependencies. Here is the error I am getting libtool: link: ( cd ".libs" && rm -f "libtiff.la" && ln…
keepitreall89
  • 1,190
  • 2
  • 14
  • 28
0
votes
2 answers

Extract a whole scale image from a SVS format file in C++

I am trying to extract a whole scale image from a SVS file in C++. I saw an explanation from the OpenSlide homepage. It says the SVS format is "single-file pyramidal tiled TIFF". So I tried to extract a whole-scale image like I did for TIFF image: I…
YJJ
  • 45
  • 10
0
votes
1 answer

Is it possible to process a full tiled tiff image by saving only one tile in memory every time?

I'am having a simple issue. I process tiff images that are enormous (>4GB), and when loading all of them in memory i fill my RAM and the program is killed. I tried to save them as tiled tiffs and then use libtiff to load them tile-by-tile like…
0
votes
1 answer

C# LibTiff.Net - MultiTIFF change Tag-Values

i want to set or change some Tags in a Multi-TIFF-File with LibTiff.net. So im currently switching through the Sub-Images with SetDirectory(), updating some fields and checking out with the CheckpointDirectory()-Function. When im doing this, only…
MavidDeyers
  • 180
  • 1
  • 14
0
votes
1 answer

how to update libtiff to the latest version in Centos 7?

i want to update libtiff>=4.0.4 in centos7,i try two ways but failed. first, i used the command yum install libtiff but the system only have libtiff 4.0.3 that i have installed. second, i try to install tiff-4.0.9 in local,after i used these…
krito
  • 1
  • 2
0
votes
1 answer

UINT8/16/32/etc and INT8/16/32/etc not working in libtiff?

When I try to run a script with #include "libtiff.h" when compiling, the compiler gives me all sorts of trouble with the UINT and INT data types used in the rest of the LibTiff library. In file included from H:\tiff-4.0.9\libtiff\tiffio.h:33:0, …
Julia
  • 11
  • 4
0
votes
2 answers

Tesseract Open Source OCR Engine v3.05.00dev with Leptonica Warning in pixReadMemPng

I am trying to convert PNG image file to text using pytesseract. It is giving me the below error. TesseractError: (1, 'Tesseract Open Source OCR Engine v3.05.00dev with Leptonica Warning in pixReadMemPng: work-around: writing to a temp file libpng…