diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-12-13 01:59:40 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-12-13 02:12:41 +0100 |
commit | e161f77359f5b9087742e0b5b5b1eba6af47b2a7 (patch) | |
tree | a1e48b32d7320f684487f9666b4c9d73838b0b55 /fastiv-io.c | |
parent | 3ed23e423bf758678dcbd906e22d54f9e95b5f10 (diff) | |
download | fiv-e161f77359f5b9087742e0b5b5b1eba6af47b2a7.tar.gz fiv-e161f77359f5b9087742e0b5b5b1eba6af47b2a7.tar.xz fiv-e161f77359f5b9087742e0b5b5b1eba6af47b2a7.zip |
Recognize a few more tactical TIFF tags
Diffstat (limited to 'fastiv-io.c')
-rw-r--r-- | fastiv-io.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; |