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
135
votes
12 answers

Working with TIFFs (import, export) in Python using numpy

I need a python method to open and import TIFF images into numpy arrays so I can analyze and modify the pixel data and then save them as TIFFs again. (They are basically light intensity maps in greyscale, representing the respective values per…
Jakob
  • 1,897
  • 2
  • 16
  • 17
105
votes
4 answers

How would I display a TIFF images in all web browsers?

How do I handle TIFF images in HTML pages? I have tried using the embed tag, object id, img, etc. But, I am unable to display the TIFF image in the HTML page. I am not using Java, .NET, or any other alternatives in my project. UPDATE: Safari…
ASHOK
  • 1,475
  • 4
  • 14
  • 14
102
votes
2 answers

Saving a high resolution image in R

I'm creating a scatterplot using ggplot in R (R version 3.2.1). I want to save the graph as a tiff image in 300 DPI in order to publish it in a journal. However, my code using ggsave or tiff() with dev.off doesn't seem to work and only saves it in…
Dana
  • 1,053
  • 2
  • 8
  • 7
80
votes
13 answers

Best way to convert pdf files to tiff files

I have around 1000 pdf filesand I need to convert them to 300 dpi tiff files. What is the best way to do this? If there is an SDK or something or a tool that can be scripted that would be ideal.
gyurisc
  • 11,234
  • 16
  • 68
  • 102
58
votes
2 answers

Obtain Latitude and Longitude from a GeoTIFF File

Using GDAL in Python, how do you get the latitude and longitude of a GeoTIFF file? GeoTIFF's do not appear to store any coordinate information. Instead, they store the XY Origin coordinates. However, the XY coordinates do not provide the latitude…
Phanto
  • 1,147
  • 5
  • 16
  • 19
47
votes
7 answers

Convert bitmaps to one multipage TIFF image in .NET 2.0

How can i convert an array of bitmaps into a brand new image of TIFF format, adding all the bitmaps as frames in this new tiff image? using .NET 2.0.
mirezus
  • 13,892
  • 11
  • 37
  • 42
33
votes
6 answers

Python: Read and write TIFF 16 bit , three channel , colour images

Does anyone have a method for importing a 16 bit per channel, 3 channel TIFF image in Python? I have yet to find a method which will preserve the 16 bit depth per channel when dealing with the TIFF format. I am hoping that some helpful soul will…
Lars Chr
  • 947
  • 1
  • 9
  • 12
32
votes
5 answers

converting tiff to jpeg in python

Can anyone help me to read .tiff image and convert into jpeg format? from PIL import Image im = Image.open('test.tiff') im.save('test.jpeg') The above code was not working.
Anbarasan Thangapalam
  • 958
  • 1
  • 10
  • 20
29
votes
5 answers

Image resources for iOS

I'm probably missing something obvious here, yet I've been unable to solve the following problem: I have a project with image resources for both normal and retina screens, like someimage.png and someimage@2x.png, which are stored in a separate…
Vladimir
  • 9,683
  • 6
  • 36
  • 57
28
votes
4 answers

Saving plot to tiff, with high resolution for publication (in R)

A journal we are sending an article to is asking for the following: To ensure the best reproduction quality of your figures we would appreciate high resolution files. All figures should preferably be in TIFF or EPS format... and should have the…
Tal Galili
  • 24,605
  • 44
  • 129
  • 187
27
votes
4 answers

Save Matplotlib figure as TIFF

Does anyone know how to save a Matplotlib figure as *.tiff? It seems that this format is not supported in Python, while the journals are quite often ask for that format. I am adding some minimal code: # -*- coding: utf-8 -*- from…
striatum
  • 1,428
  • 3
  • 14
  • 31
27
votes
5 answers

Can't read and write a TIFF image file using Java ImageIO standard library

I don't know what to do with TIFF images, but I can't read or write any of them using straight Java standard ImageIO library. Any thoughts? Thanks.
Gle
  • 281
  • 1
  • 3
  • 4
23
votes
2 answers

Image Cropping Tool (Python)

I'm a film photographer who deals a lot with cropping/image resizing. Because I shoot film, I have to scan my negatives and crop each frame out of the batch scan. My scanner scans four strips of six images each (24 frames/crops per scan). A friend…
Macca
  • 231
  • 1
  • 2
  • 5
22
votes
5 answers

Python PIL For Loop to work with Multi-image TIFF

Each tiff file has 4 images in it. I do not wish to extract and save them if possible, I would just like to use a for loop to look at each of them. (Like look at the pixel [0,0] )and depending on what color it is in all 4 I will do something…
1478963
  • 1,198
  • 4
  • 11
  • 25
21
votes
8 answers

How to detect if a file is PDF or TIFF?

Please bear with me as I've been thrown into the middle of this project without knowing all the background. If you've got WTF questions, trust me, I have them too. Here is the scenario: I've got a bunch of files residing on an IIS server. They have…
eviljack
  • 3,696
  • 8
  • 39
  • 52
1
2 3
99 100