Commit Graph

18 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 51ca3f8e2e
info: optionally recurse into certain MakerNotes 2024-01-23 19:12:11 +01:00
Přemysl Eric Janouch 34388b93ea
info: decode JPEGs from all CR2 IFDs 2023-06-08 18:59:19 +02:00
Přemysl Eric Janouch a9b34ca3f2
Unite most info tools into just one binary
Turn this into more of an fq alternative, when used with jq.

Also don't say that TIFF files are Exif.
2023-06-05 18:11:37 +02:00
Přemysl Eric Janouch 3bdffd03db
tools: decode TIFF XMP fields as UTF-8
This is more space-efficient than an array of ASCII codepoints.

Perhaps more fields would make good use of specialized decoders,
just this one made listings particularly annoying to deal with,
and it may additionaly contain important metadata.
2023-05-28 11:06:44 +02:00
Přemysl Eric Janouch a710692725
Clean up namespace pollution 2023-05-28 10:13:04 +02:00
Přemysl Eric Janouch 33251eaca7
Load MPF images as pages 2023-05-28 08:12:37 +02:00
Přemysl Eric Janouch 63311644da
Move MPF constants and table to tiff-tables.db 2023-05-28 08:12:36 +02:00
Přemysl Eric Janouch 8668e85623
Make MPF parsing a bit safer 2023-05-28 08:12:27 +02:00
Přemysl Eric Janouch 902eaf5a01
Make TIFF parsing a bit safer
At least on 64-bit systems, 32-bit may still have holes.
2023-05-28 08:12:22 +02:00
Přemysl Eric Janouch bb4b895cb5
Extract some full-size raw previews without LibRaw
Not all image/x-nikon-nef will work like this,
so don't claim their MIME type.
2023-05-26 15:32:34 +02:00
Přemysl Eric Janouch a93fc3f88d
Make TIFF and JPEG info extractors co-recursive 2023-05-24 06:18:14 +02:00
Přemysl Eric Janouch dba728e0c4
Improve TIFF handling within tools
Nikon NEFs violate TIFF Tech Note 1, and it is easy to detect.

Also guard against more pointer overflows, and fix a temporary array
being used outside of its scope (found by a compiler).
2023-05-22 20:56:28 +02:00
Přemysl Eric Janouch 81145064de
Generate TIFF structs/enums from a text file
This is to make the tables much easier to maintain.
2022-06-10 02:18:14 +02:00
Přemysl Eric Janouch 18f7607e1b
Add a most basic tool to inspect ISO BMFF files
This can be massively extended.
2021-12-14 01:22:51 +01:00
Přemysl Eric Janouch 1478a9f83f
Add a tool to extract information from WebP 2021-12-13 19:05:23 +01:00
Přemysl Eric Janouch e161f77359
Recognize a few more tactical TIFF tags 2021-12-13 02:12:41 +01:00
Přemysl Eric Janouch 121c63e35e
Add a basic tiffinfo utility
Also fix a few TIFF-related issues.
2021-12-12 00:22:20 +01:00
Přemysl Eric Janouch fa15707d9b
pnginfo: extract eXIf chunk data 2021-12-10 17:23:26 +01:00