From e161f77359f5b9087742e0b5b5b1eba6af47b2a7 Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch Date: Mon, 13 Dec 2021 01:59:40 +0100 Subject: Recognize a few more tactical TIFF tags --- fastiv-io.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fastiv-io.c') diff --git a/fastiv-io.c b/fastiv-io.c index 6362598..99a48e5 100644 --- a/fastiv-io.c +++ b/fastiv-io.c @@ -1709,6 +1709,10 @@ open_libtiff(const gchar *data, gsize len, const gchar *path, GError **error) // This is not possible with libtiff directly, because TIFFSetSubDirectory() // requires an ImageLength tag that's missing, and TIFFReadCustomDirectory() // takes a privately defined struct that cannot be omitted. + // + // TODO(p): Samsung Android DNGs also claim to be TIFF/EP, but use a smaller + // uncompressed YCbCr image. Apple ProRAW uses the new JPEG Compression (7), + // with a weird Orientation. It also uses that value for its raw data. uint32_t subtype = 0; uint16_t subifd_count = 0; const uint64_t *subifd_offsets = NULL; -- cgit v1.2.3-54-g00ecf