Questions tagged [tiff]

TIFF (originally standing for Tagged Image File Format) is a file format for storing images.

Tagged Image File Format (abbreviated TIFF) is a file format for storing raster images, popular among Apple Macintosh owners, graphic artists, the publishing industry, and both amateur and professional photographers in general. As of 2009, it is under the control of Adobe Systems.

Originally created by the company Aldus for use with what was then called "desktop publishing", the TIFF format is widely supported by image-manipulation applications, by publishing and page layout applications, by scanning, faxing, word processing, optical character recognition and other applications. Adobe Systems, which acquired Aldus, now holds the copyright to the TIFF specification. TIFF has not had a major update since 1992.

Resources

2367 questions
14
votes
5 answers

How to convert TIFF to JPEG/PNG in java

recently i'm facing problem when try to display an image file. Unfortunately, the image format is TIFF format which not supported by major web browser (as i know only Safari support this format). Due to certain constraint, i have to convert this…
jc88
  • 471
  • 1
  • 5
  • 12
14
votes
1 answer

Python PIL incorrectly decoding TIFF colors (using incorrect colorspace)?

When I use PIL==1.1.7 to load TIFF images, it seems to get the colorspace wrong: What's going on? The .tiff was created using convert test.jpg test.tiff (but seems to happen with other tiff files too) It can be found at:…
David Wolever
  • 148,955
  • 89
  • 346
  • 502
13
votes
4 answers

Open huge TIF in .NET and copy parts to new image

I'm looking for a library that can open and copy sections of a large TIFF file. I've looked at LibTiff.Net which opens the file very quickly but it doesn't have any functions for cropping or copying sections of the image. My image is 100,000 x…
JWood
  • 2,804
  • 2
  • 39
  • 64
12
votes
6 answers

Java API to convert JPEG to TIFF

I am looking at java APIs to convert JPEG file streams to TIFF files. I looked at the JAI but did not find something similar to what i am looking at. Can someone point me to a good API which does this ?
EclipseGuru
  • 1,047
  • 3
  • 14
  • 16
12
votes
4 answers

Is there a way to infer what image format a file is, without reading the entire file?

Is there a good way to see what format an image is, without having to read the entire file into memory? Obviously this would vary from format to format (I'm particularly interested in TIFF files) but what sort of procedure would be useful to…
Tom Kidd
  • 12,830
  • 19
  • 89
  • 128
12
votes
3 answers

ImageMagick: How to get rid of TIFFWarnings/768 message about "Unknown field" when processing TIFFs?

I process ETOPO1.tif into a cropped area hillshade. I get a tiff image looking like : When I process it via ImageMagick, it runs successfully. But I get the following set of warning messages: convert Yug-shadedrelief.tmp.tif -fuzz 7% -fill "#FFFFFF"…
Hugolpz
  • 17,296
  • 26
  • 100
  • 187
11
votes
3 answers

Why does the tiff output look different than the ggplot2 output in R studio?

I am making publication quality plots using ggplot2 in the latest version of R studio. They need to be saved as TIFFs at 300 dpi. When I run the code and call for the plot in the command console it appears perfectly in the plot window. However,…
Elizabeth
  • 199
  • 1
  • 4
  • 13
11
votes
7 answers

Ghostscript PDF -> TIFF conversion is awful for me, people rave about it, I alone look sullen

My stomach churns when I see this kind of output. http://www.freeimagehosting.net/uploads/e1097a5a10.jpg and this was my command as suggested by Best way to convert pdf files to tiff files gswin32c.exe -q -dNOPAUSE -sDEVICE=tiffg4 -sOutputFile=a.tif…
Setori
  • 10,326
  • 11
  • 40
  • 46
11
votes
1 answer

Convert a tiff into a buffered image (Java)

I need to convert a tiff file into a BufferedImage. I wrote the following code: String filepath = "C:\\tiffFolder\\"; String filename = "myTiffImage.tif"; File myFile = new File (filepath + filename); BufferedImage img = ImageIO.read(myFile); I…
Daniele Milani
  • 553
  • 2
  • 7
  • 26
11
votes
4 answers

How can I know if a TIFF image is in the format CCITT T.6(Group 4)?

How can I know if a TIFF image is in the format CCITT T.6(Group 4)?
user187711
11
votes
2 answers

Python PIL struggles with uncompressed 16-bit TIFF images

My system is Mac OS X v10.8.2. I have several 2560x500 uncompressed 16-bit TIFF images (grayscale, unsigned 16-bit integers). I first attempt to load them using PIL (installed via Homebrew, version 1.7.8): from PIL import Image import numpy as…
ph0t0n
  • 735
  • 1
  • 10
  • 24
10
votes
1 answer

How to download a sentinel images from google earth engine using python API in tfrecord

While trying to download sentinel image for a specific location, the tif file is generated by default in drive but its not readable by openCV or PIL.Image().Below is the code for the same. If I use the file format as tfrecord. There are no Images…
10
votes
2 answers

Wrong colours when converting TIFF image to PNG in ImageMagick

I'm working on a PHP script that automatically converts TIFF images to PNG files. For that purpose, I use ImageMagick: $ convert a.tif a.png It works to some degree, however, the colours are very acute and deviant from the way they are pictured on…
clausvdb
  • 636
  • 2
  • 6
  • 13
10
votes
1 answer

GDAL - gdalbuildvrt "tif file not recognized as a supported file format"

I am trying to create a virtual raster (VRT file), that joins a large amount of GeoTIFF rasters. I am using gdalbuildvrt command in a Windows 7 environment. Below is the syntax used. gdalbuildvrt -input_file_list C:\listing.txt -srcnodata 0…
jhc
  • 1,739
  • 3
  • 21
  • 46
10
votes
1 answer

tiff() resolution and compression are not reliably set in OSX

The resolution and compression options in tiff() seem to be ignored on my system (see information below). This appears to be the same problem discussed in this SO question; I'm posting the question here so that I can be more specific about my…
Drew Steen
  • 16,045
  • 12
  • 62
  • 90