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

trouble with building the correct LIBTIFF version in ubuntu

My machine (Ubuntu 12.04) currently has libtiff.so.4.3.4: % locate libtiff.so.4 /usr/lib/i386-linux-gnu/libtiff.so.4 /usr/lib/i386-linux-gnu/libtiff.so.4.3.4 /usr/lib/x86_64-linux-gnu/libtiff.so.4 /usr/lib/x86_64-linux-gnu/libtiff.so.4.3.4 I want…
Tu Bui
  • 1,660
  • 5
  • 26
  • 39
0
votes
1 answer

Is it possible to display multi-page, multi-layer TIFF images using javascript in a webpage?

We are thinking about a library which can get a TIFF image and display each page (frame) of TIFF file in a separate canvas element. Also some pages might have layers. We want to be able to show/hide layers at user's will. It is not necessary to tell…
themehrdad
  • 169
  • 4
  • 12
0
votes
1 answer

Opening large TIFF files

I have a problem with my code: cout << "image root"; fflush(stdin); cin.getline(dir_imd,2048); TIFF* tif = TIFFOpen(dir_imd, "r"); It's quite simple, but when I try to load a image larger than 50 MB the code gives me a message saying the image…
Andreww
  • 1
  • 2
0
votes
1 answer

Why won't some Tiff files load with TiffLib.NET

I am having trouble loading Tiff files in C#. I downloaded some sample tiff files and was able to load them fine, however when I attempt to load any tiff files generated from PCI Geomatica or ArcGIS, the ReadRGBAImage call fails (returns false).…
BruceDoh
  • 113
  • 6
0
votes
1 answer

Libtiff's TIFFOpenW throws exception

I'm using LibTiff v4.0.3. I had it working perfectly in multibyte, but when i try to work with Unicode, I get a runtime exception. I can render the problem down to a single line: #include "tiffio.h" int _tmain(int argc, _TCHAR* argv[]) { …
Yochai Timmer
  • 48,127
  • 24
  • 147
  • 185
0
votes
1 answer

How to convert jpeg , bmp, pdf to Tiff for android

I was wondering how to use LibTiff by using NDK in android. Could you give me a example? or Are there ways to find a good reference site in LibTiff? I heard that android do not provide the Tiff library. Would you let me know any solution? so…
slee2540
  • 3
  • 3
0
votes
1 answer

Build standalone Libtiff (Linux)

First of all a short disclaimer: I just started programming in c++ and I just started using Linux (Ubuntu) for developing. If it was for me I would delay this, but I cannot. Time to learn something new! Scope: I need to develop a software which does…
Nevril
  • 115
  • 2
  • 9
0
votes
1 answer

Compiling Ogre with LibTiff - undefined reference

I need to compile ogre as a dependency for gazebo with RoS. During the linking of it I get the following errors: Linking CXX executable ../../bin/SampleBrowser /usr/lib/gcc/x86_64-linux-gnu/4.9/../../../../lib/libfreeimage.so: undefined reference to…
user695505
  • 85
  • 2
  • 7
0
votes
1 answer

Issue when changing dpi of a tiff using Bit Miracle libtiff

I am trying to just change the resolution of a tiff image using Bit Miracle libtiff. Below is the code snippet. When I do this, tiff image resolution is changed, but the other tiff parameters are gone and I am unable to open the tiff file. Could you…
ktpg
  • 1
0
votes
0 answers

Old JPEG compression to New JPEG compression using libtiff

I am currently having a problem with my tiff to bmp implementation as I always encounter this error: scannerdata.tif: Old-style JPEG compression support is not configured. How can I convert old-style JPEG compression to new-style JPEG compression to…
newbieMACuser
  • 847
  • 1
  • 11
  • 19
0
votes
1 answer

jpeg quality cannot be changed while using bigtiff

I've used bigtiff library(coming from libtiff to deal with files larger than 4GB) to generate a 8GB image. It can be saved and display successfully, however, it's still to large to be transferred or shared. So I'm trying to compress it with the jpeg…
0
votes
2 answers

Imagick Error convert tiff to pdf

When I tried converting a picture via : convert image.tiff image.pdf It thorws the error: convert: no images defined `mosaic.jpeg' @ error/convert.c/ConvertImageCommand/3187. I tried installing and reinstalling imagick , libtiff and jpeg. But it…
ROBOTPWNS
  • 4,299
  • 6
  • 23
  • 36
0
votes
1 answer

Setting TIFF tags to new values results, doesnt quite set the tags to the new values and results in odd behavior

using (Tiff input = Tiff.Open(@"new.tif", "r")) { if (input == null) { MessageBox.Show("Could not open incoming image"); return; } if (input.IsTiled()) …
harsha217
  • 72
  • 1
  • 11
0
votes
2 answers

Copy TIFF image by using Libtiff

using (Tiff iimage = Tiff.Open("new.tif", "r")) { Tiff newiimage = Tiff.Open("newnew.tif", "w"); if (image == null) { MessageBox.Show("Could not open incoming image"); return; …
harsha217
  • 72
  • 1
  • 11
0
votes
0 answers

Libtiff install for Mac

After updating to R 3.1.0, I attempted to install the rtiff package. I am getting the following error checking for TIFFOpen in -ltiff... no Try static libs needed on OS X checking for TIFFOpen in -ltiff... no Error: Could not find…
MacUser
  • 492
  • 9
  • 22