Feature request: read TIFFTAGS from tif file. #2136
jcwright77
started this conversation in
Ideas
Replies: 1 comment
-
Hi @jcwright77, It's one of the big limitations of libtiff -- it's not possible to write a function that can read or write an arbitrary TIFF tag. Instead, you have to switch on the tag number and write code for every case (this is how You can see the fields which libvips does support with eg.:
It tries to support the fields which can be usefully interchanged with other format libraries. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to load a tif file with vips and access tif tags such as those supported in TIFFGetField, eg TIFFTAG_SAMPLEFORMAT. I see a few of these are read in tif2vips.c but is there a way to access from vips when an tiff is loaded from file by vips? Basically a wrapper around TIFFGetField?
Beta Was this translation helpful? Give feedback.
All reactions