Questions tagged [tiff]

0 votes
1 replies
Tensorflow: How to use Tensorflow's Dataset API to use TIFF images?
I'm currently using Tensorflow's Dataset API to load and preprocess images for training and testing. Here's a snipped of the code I'm using to do...
asked 1 month ago
1 votes
1 replies
is there a python function for reading multiple images from a folder into a single array
i am trying to read multiple images from a folder in a single numpy array to feed them to my deep learning model. when i print the shape i get th...
asked 1 month ago
0 votes
0 replies
Converting a multi-page tiff to a single-page tiff
I have a multi-page .tif file that I need to convert into a single-page .tif. If I run identify orange.tif I see it consists of orange.tif...
asked 1 month ago
0 votes
2 replies
Pillow: control quality and subsampling of JPEG-compressed TIFF
I'm using Pillow to create multi-page TIFFs. I want to compress the layers with JPEG, which I see I can do with the compression option: https://p...
asked 1 month ago
2 votes
1 replies
Write additionnals images in a tiff file without erasing existing images
What I'm actually doing is saving images in a tiff file, using imageio.mimwrite(). But in my script, I open and close the file several times, so...
asked 1 month ago
0 votes
0 replies
How to save tiff files after stack with name of a list of dates?
I am working with raster time-series files in R, I stacked them in order to make some calculation which is scale factor and crop them in my AOI....
asked 2 months ago
0 votes
0 replies
How to open TIFF using PIL on Windows?
I'm trying to open a 12-band tiff (1 temperature image for each month of the year) using PILLOW Image.open so that I can ultimately convert the t...
asked 2 months ago
0 votes
1 replies
How to load .tif raster files in R
I am currently working on some raster models. My code has generated about 4k models (all .tif files), but about 10% of these cannot be opened usi...
asked 2 months ago
0 votes
0 replies
How can I embed a Dublin Core XML file into a TIFF using XMP?
I work in an archive and as we scan photos, we'd like to embed them with metadata rather than use sidecar metadata. I'm tired of using IPTC, esp...
asked 2 months ago
1 votes
1 replies
How to add variable for name of splitted multi tiffs in xslt
I have a problem with my xml output from my xslt. The target system cannot recieve multi-tiff image files so i have to split them into singles. T...
asked 2 months ago
2 votes
1 replies
exposuretime from tiff file in python3
I'm wondering if there is a way to get the exposure time from a tiff file using python3. I know there are some answers, how to get metadata from...
0 votes
1 replies
How to convert compressed tiff image(Group4 - CCITT_T.6) to PNG, using ImageMagick's convert.exe?
I want to convert compressed tiff(Group4 - CCITT_T.6) to PNG format image. I am using ImageMagick's[6.9.1-10 Q8 x86 2015-07-25 http://www.imagem...
asked 3 months ago
0 votes
1 replies
iTextSharp, Why when creating a PDF file size is 2 times larger than the original folder with images?
I need the finished PDF file to be 30% smaller than the original image folder. There is a folder with images in tiff format. Then I add one imag...
asked 2 months ago
0 votes
0 replies
Create binary tiff files (compressed with lzw) from numpy array
I need to create binary tiff files (normally 9 layered but only layer 0 is important) I have the results as boolean numpy 2D arrays. But I could...
1 votes
0 replies
Trouble reading tif images using image_read in Magick package
I am trying to read a .tif image from a local directory using the image_read command in the Magick package. My code results in the following erro...
asked 2 months ago
0 votes
0 replies
Read all the data at one point of a multi-channel tiff file in Python
I'm working with large multi-channel TIFF files (about 1GB each). Each channel is a simple greyscale image but each TIFF file has a couple thousa...
asked 2 months ago
1 votes
1 replies
Simple way to write uncompressed JPEG or PNG image?
I have a raw image in memory, organized as an array of 32-bit RGB values. I'd like to write that out as quickly as possible to an image file so t...
asked 2 months ago
0 votes
1 replies
recursively download tif files from website
What is the best approach to recursively discover and download tiff files from a website? For example, this url (https://geonb.snb.ca/downloads2/...
asked 2 months ago
0 votes
0 replies
Export image with GDAL. Poor quality
I use the following command to export a jpg file: gdaldem color-relief C:\input.tif C:\colors.txt C:\output.jpg The file colors.txt: -0.99 25...
asked 3 months ago
0 votes
0 replies
Reading xml and locating the rows in tiff file
I have RDCL 2015 dataset containing the ground truth and sample images with tiff extension. I want to take in ground truth from the xml files and...
-1 votes
1 replies
Why can't I preview my TIFF images with Jupyter ? And why am I failing to make a video out of those TIFF images?
I have a file with a lot of .tif images. Part 1. Preview of TIFF images When I try to opreview them by clicking on them in the jupyter folder (...
asked 4 months ago
0 votes
1 replies
Merge multiple multi-page tiff images to a single tiff C#
In my scenario I have 3 or more multi-page tiff images which I need to merge into a single tiff image. Below is the the code I have tried. It...
asked 5 months ago
3 votes
2 replies
How to Get Total Page Count From Tiff
I have started to create a new method in our project to return total pages. We are using TIFFTweaker which can be referenced from the following U...
asked 4 months ago
0 votes
0 replies
Swift - Mac OS - TIFF Image
i have a question about how to work with tiff images in Swift (mac os). What i want to achieve: I got two tiff images(first.tif, second.tif), w...
asked 5 months ago
0 votes
0 replies
how to plot a geotiff image without changing colors
I have a raster .tif file that I produced with qgis, representing the indoor map of a building. I want to plot it along with some data in geojson...
asked 4 months ago