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

LibTiff: Tiff to pdf

Following command converts input.tiff file into pdf: tiff2pdf −o output.pdf input.tiff There are more than 100 tiff files in a directory. How to convert all those in one pdf file in a batch file? tiff2pdf −o output.pdf input1.tiff input2.tiff... //…
mrd
  • 2,095
  • 6
  • 23
  • 48
0
votes
0 answers

Stitch many images in one using Libtiff

I want to copy many images in one big image in different positions and then save it to .tif, but I don't want to store them in memory all at once, so I need to define tiff file stored on disk, and then write my images one by one. I'm using Libtiff.…
mrgloom
  • 20,061
  • 36
  • 171
  • 301
0
votes
1 answer

Tiff: Single pages are not single pages

Question: I have two tiff files extracted from a multipage tiff image using Laser Net application. But, all images seem to be writing as multi tiffs even if it's only one image per file. Please check following tiff header from a tiff file. How would…
mrd
  • 2,095
  • 6
  • 23
  • 48
0
votes
1 answer

Combining 4 separate monochrome tiffs into 1 CMYK tiff

I have tiff images stored in such a way that i have each plane(color) stored in a separate file. Each file(C,M,Y,K) is a chunky tiff stored as a monochrome 8 bits per pixel file. I want to combine these 4 files into one CMYK colored tiff using the…
user434885
  • 1,988
  • 6
  • 29
  • 51
0
votes
0 answers

Tiff file with Compression Scheme 65100 (0xfe4c)

I have a big file (6GB) that displays the following information with libtiff 4.0.3: > tiffinfo MyPic MyPic: Warning, Nonstandard tile length 1, convert file. TIFFReadDirectory: Warning, Unknown field with tag 65100 (0xfe4c)…
fzd
  • 765
  • 1
  • 6
  • 19
0
votes
0 answers

Read CMYK tags from tiff image using libtiff

I need to read C M Y and K bits from .tiff image using libtiff. I have set this so far: TIFFSetField(tif, TIFFTAG_SAMPLESPERPIXEL, 4); TIFFSetField(tif, TIFFTAG_PLANARCONFIG, PLANARCONFIG_SEPARATE); TIFFSetField(tif, TIFFTAG_PHOTOMETRIC,…
0
votes
1 answer

Change Data Type of existing Tiff tag using LibTiff.Net

I'm using the latest version of LibTiff.Net to fix some tiffs to be included in X9.37 files. I have got all the correct tags down, however, there are a couple of them that are DataType 'short' when I need them to be 'long'. Is there a best way to…
AbeyMarquez
  • 625
  • 4
  • 13
0
votes
1 answer

Reading TIFF grayscale using libtiff

So I have this program, which is not complete yet. My images will be either 8 or 16bits. How do I assign whatever value coming out of buf to buffer array? Right now, the printf right after buf doesn't work cos it says buf is of type void*... I have…
nineties
  • 423
  • 1
  • 7
  • 17
0
votes
2 answers

How to make libtiff for an Xcode project and an iOS application?

I have been searching up and down stackoverflow and Google for the correct way to compile and add the libtiff library to my existing iOS project in Xcode. What I have done so far: EDIT: I have downloaded libtiff to my Mac after deciding to follow…
AOphagen
  • 308
  • 2
  • 18
0
votes
1 answer

Improper Tiff image generated from RGB888 data

I'm trying to convert RGB888 image data to TIFF image. But code generates improper image. I'm reading the RGB data from text file.Here is the output image the black region shouldn't be there it seems that code is making low RGB values to zero. I'm…
vid09
  • 149
  • 1
  • 3
  • 8
0
votes
1 answer

linking libtiff - LNK2001: unresolve external symbol TIFFOpen

I am using MSVS 2010 on a 64 bit machine. I installed tiff libraries version 3.8.2 using the set-up file, changed project properties sheet: include - *\GnuWin32\include; linker - *\GnuWin32\lib, input - libtiff.lib. But MSVS 2010 still gives me the…
0
votes
1 answer

Change resolution with Bit Miracle's LibTiff.Net

I use Bit Miracle's LibTiff.Net to convert scanned image to tiff file, but I want to save images with 200dpi even that scanned with 300 dpi I found this in the Bit Miracle site sample tif.SetField(TiffTag.XRESOLUTION, img.HorizontalResolution); …
Akrem
  • 5,033
  • 8
  • 37
  • 64
0
votes
1 answer

TIFFOpen: Too many open files

I'm trying to open a geotiff from the ASTER data set, but it gives an error that I've been unable to figure out. Here is my code: #include "stdlib.h" #include "stdio.h" #include "tiffio.h" void read(void); void main() { read(); …
evenex_code
  • 843
  • 1
  • 8
  • 20
0
votes
1 answer

LIBTIFF not able to work with C++ project

Libtiff is a C library, but I want to use it with a C++ project in Qt Creator. Does anyone know how to do this? I get compile time errors when I try to use the C library, so I'm not sure what to do. The compile time error I get…
Danny Ahdoot
  • 19
  • 1
  • 9
0
votes
1 answer

LNK1313 visual studio error

I am trying to compile and run some code, part that I wrote using visual studio and part of this task requires me to use a library I downloaded. The error message reads "fatal error LNK1313: ijw/native module detected; cannot link with pure…
1 2 3
20
21