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
0
votes
1 answer

Is there a way with php ImageMagick to count number of pages into TIF image file without loading complete file?

let me describe the scenario. Environemnt: RedHat linux 7.9 + ImageMagick* + pecl imagick + PHP script. Scope: Into GUI application user must be allowed to see the single images from a multi-TIF file. File: multi-tiff file are JPEG…
iamio
  • 26
  • 3
0
votes
1 answer

Bokeh - save plot as svg (ValueError: OutputDocumentFor expects a sequence of Models)

I made a plot in Bokeh but when I try to export it as a svg file I get the following error: OutputDocumentFor expects a sequence of Models. My code is: # plot 2D histogram def plot_hist(ch1, ch2, ch1_name='G3BP1', ch2_name='Nucleocapsid'): …
0
votes
1 answer

How can I access the .tif metadata that is seen in ImageJ, but in Python?

I load a .tif file from a microscopy experiment into ImageJ, and it tells me the dimensions of the field of view of the microscope (424.27x424.27 microns). To access this in ImageJ, I go to the Image tab, then 'show info', and then scroll to the…
dtsr00
  • 1
  • 1
0
votes
0 answers

How to save a multipage TIFF image?

I trying to process a TIFF file using Image class: using System.Drawing var i = Image.FromFile("in.tiff"); i.Save("out.tiff"); However, when I do it like this, out.tiff has only the first page of the multipage in.tiff. I know that the information…
radrow
  • 6,419
  • 4
  • 26
  • 53
0
votes
0 answers

Extracting multiple .tiff files using a Shapefile

I have a folder named Mar22_073685 with 1372 tiff image . I need to crop these tiff files using a shapefile in another folder named 'Export_Output_2_Project.shp'. I am cropping these tiff files with the help of loop but when I am opening the output…
0
votes
2 answers

different pdf views on different softwares: vs studio code, chrome and acrobat reader, after imagemagick tif -> pdf convertion

I'm converting a tif file to pdf with imagemagick: Imagemagick version: 7.1.0-13 Imagemagick command: magick convert -density 80 -page a4 -limit map 3GB -limit memory 3GB tiff:- pdf:- This has been working good until meeting this…
John Balvin Arias
  • 2,632
  • 3
  • 26
  • 41
0
votes
0 answers

how to add spot color channel to a tiff image use some code?

I need to add an additional channel (with a custom name, not alpha) to a tiff image. I'm surprised how difficult this is, because the tiff-secification says it is possible to add custom channels and PhotoShop is able to do it. Now I'm looking for a…
xiaobaozi
  • 1
  • 1
0
votes
2 answers

Opening muli tiff files in a directory and applying all same steps

I have 12 tif images in /data directory and applying steps below for each: Open a tif in data/ folder with gr.from_file Send tif data to pandas with the code .to_pandas() Change a column' name (value column = tifname) in pandas dataframe with the…
volkan
  • 195
  • 7
0
votes
2 answers

Downsample large .tif images while reading

I am working with hundreds of large high resolution .tif images that are very memory intensive to read in Python. Fortunately, I can often work with low resolution versions of these images by downsampling them after loading them. I am wondering if…
Zac
  • 362
  • 1
  • 4
  • 16
0
votes
1 answer

Are there any ways to put a tiff next to another tiff using software or python code?

Now I'm dealing with many satellite images and the format of them are tiff The image are separate and I want to put them next to each other. eg. I have two images and they are 2*2 pixels, ImageA lower left is (0, 0) and upper right is (2, 2) of…
0
votes
1 answer

Apply multiple thresholds to image (tiff) to create exact binary copy, Python

I am working with the following image: And I would like to make it binary, however, as can be seen in the image, there are different brightness' of grey spots. I would like for all the grey spots to be captured in the binary at the exact size. If I…
Fred
  • 103
  • 7
0
votes
1 answer

Reshape dimensions in a tiff file

I am working on a code that would take my tif file of dimension [5,1024,1024,3] to reorder it to produce dimension of [5, 3, 1024, 1024]. [5,1024,1024,3] shows the dimension of [nplane x nY x nX x nchannels]. The goal is to get [nplane x nchannels x…
Shamus
  • 1
0
votes
1 answer

Converting a bunch of .dat files(images) to an avi file?

I am working on project to analyze the rotation of cells. The information is stored in a .dat file that contains an image of a cell. I have to convert it to a tiff file then concatenate all the images to have an avi video. The problem is that I…
0
votes
0 answers

Plotting tif files from list results in error: 'x' is a list, but does not have components 'x' and 'y'

I have the following libraries installed: library(rgdal) library(raster) require(sf) library(ggplot2) library(raster) library(rgeos) library(tidyverse) library(leaflet) library(sp) library(bnspatial) The tif files that are used for plotting are…
0
votes
0 answers

Imported GeoTIFF file returns only NAN values

I have been trying to import a GEOTIFF file that shows irradiance data. I am able to plot (see Plot here) the file so I am sure the file has data; however; the raster array contains only nan values. Is there any way to resolve this? I am quite new…
George
  • 1