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
0 answers

How to extract tiff files of a range the URL with zipfiles?

I want to extract the tif file from a range of URL. This code works for one zip file, but if I want to extract zips in a range(1,43) it doesn't work the error is: BadZipFile: File is not a zip file Could somebody help me? print('Downloading…
0
votes
0 answers

NullPointerException in java.base/java.util.StringTokenizer.isDelimiter

Sometimes I'm getting a NullPointerException in java.base/java.util.StringTokenizer.isDelimiter but I can't reproduce this consistently. Here's the stacktrace: java.base/java.util.StringTokenizer.isDelimiter(Unknown Source),…
extremecoder85
  • 119
  • 1
  • 12
0
votes
1 answer

something is missing when writing data into new tif file with gdal

There are problems in my writing data into .tif file with gdal module in python. I want to extract data (numpy array) from a tif file and modify some of its values before saving it into a new one, with the new file functioning normally. I use…
longmixl
  • 1
  • 2
0
votes
0 answers

Iterate through a single tif file in Python that does not fit in memory

I have been given a TIF file which does not fit in memory. I guess there are some images in it, because I have read that a single TIF file can contain several images. How can I iterate over them without loading it into memory completely? I wanted to…
southernKid33
  • 351
  • 1
  • 2
  • 14
0
votes
1 answer

Converting Tiff file to JPG or Png python

Hi i am trying to convert the Tiff file into png or jpg file but the ouput that i am getting is noisy and not what i expected. Below is the code that i have tried : from PIL import Image im = Image.open('/content/img.tif') import numpy as np imarray…
NeedToCodeAgain
  • 129
  • 2
  • 9
0
votes
0 answers

Kernel restarts when compressing tif file using PIL in Anaconda

I'm trying to compress a bunch of tiff files with the pillow package. However, when I'm executing the code in python3.7.13 in Spyder IDE within the Anaconda3 environment, the Kernel restarts in the line in which the tiff file should be compressed. I…
0
votes
1 answer

Unable to extract all points when converting tiff file to shape using gdal_polygonize.py

I am trying to extract elevation points from tiff file by converting it to shape file using gdal_polygonize.py command on Linux The conversion is successful, however the shape file does not contain all the elevation points. I am using the below…
Abhilash
  • 43
  • 1
  • 8
0
votes
1 answer

How to get all tags from a tiff file with libtiff?

I have a tiff file and would like to get a list of all tags used in that file. If I understand the TiffGetField() function correctly, it only gets the values of tags specified. But how do I know what tags the file uses? I would like to get all used…
DGIS
  • 111
  • 7
0
votes
1 answer

Convert .tiff image to .png/.jpg in Flutter

I have a .tiff format image and i want to convert it into .jpg or .png format. I extract images from pdf using https://www.convertapi.com/ and i am getting some .tiff images that i want to convert to .png or .jpg because my device doesn’t open .tiff…
0
votes
1 answer

Format not supported or reader plugin not found, Fiji ImageJ

I have just downloaded Fiji on Linux 64 bits for visualizing ome.tif files. I haven't modified any setting but it can't open my files. I am getting the error "Format not supported or reader plugin not found". The console indicates:…
salomepx
  • 23
  • 1
  • 5
0
votes
1 answer

Adding custom extratags with tifffile

I'm trying to write a script to simplify my everyday life in the lab. I operate one ThermoFisher / FEI scanning electron microscope and I save all my pictures in the TIFF format. The microscope software is adding an extensive custom TiffTag (code…
toto
  • 110
  • 1
  • 6
0
votes
0 answers

Issues while reading large TIFF file

I'm facing an I/O bug when using large images as a TIFF file using javax.imageioand JAI. Here is what I did: Generate a random BufferedImage of type TYPE_CUSTOM with DataBufferInt encoding Save the image as a TIFF file using javax.imageio or…
FiReTiTi
  • 5,597
  • 12
  • 30
  • 58
0
votes
1 answer

BIts Per Sample / Pixel libtiff vs WIC

TIFF *TiffImage; uint16 photo, bps, spp, fillorder; uint32 width,height; unsigned long stripSize; unsigned long imageOffset, result; int stripMax, stripCount; unsigned char *buffer, tempbyte; unsigned short *buffer16; unsigned int…
Gilad
  • 6,437
  • 14
  • 61
  • 119
0
votes
0 answers

How to change variable in filepath in R?

I have this sampled code where I want to change multiple variable outside of my filepath "S2_B8"(month,tile..) and do not have to the change the entire filepath just the variable. For example for "month" I will just have to write "01" if I wanted to…
0
votes
0 answers

openvc and tiff, error typedef redefinition with different types int64_t

I have a Qt C++ project which depends on opencv and tiff (installed with vcpkg) among other things. It's originally developed on Windows (microsoft compiler) and now I'm trying to build it on macOS (clang). I'm in the mid of figuring out how to…
KcFnMi
  • 5,516
  • 10
  • 62
  • 136