Commit Graph

15 Commits

Author SHA1 Message Date
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
a710692725
Clean up namespace pollution 2023-05-28 10:13:04 +02:00
33251eaca7
Load MPF images as pages 2023-05-28 08:12:37 +02:00
63311644da
Move MPF constants and table to tiff-tables.db 2023-05-28 08:12:36 +02:00
8668e85623
Make MPF parsing a bit safer 2023-05-28 08:12:27 +02:00
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
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
a93fc3f88d
Make TIFF and JPEG info extractors co-recursive 2023-05-24 06:18:14 +02:00
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
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
18f7607e1b
Add a most basic tool to inspect ISO BMFF files
This can be massively extended.
2021-12-14 01:22:51 +01:00
1478a9f83f
Add a tool to extract information from WebP 2021-12-13 19:05:23 +01:00
e161f77359
Recognize a few more tactical TIFF tags 2021-12-13 02:12:41 +01:00
121c63e35e
Add a basic tiffinfo utility
Also fix a few TIFF-related issues.
2021-12-12 00:22:20 +01:00
fa15707d9b
pnginfo: extract eXIf chunk data 2021-12-10 17:23:26 +01:00