Commit Graph

436 Commits

Author SHA1 Message Date
Přemysl Eric Janouch ac70c7724b
Add preliminary HEIF/AVIF support
The gdk-pixbuf plugin does not work here, for whatever reason.

Moreover, close integration exposes higher bit depths, metadata,
and auxiliary images.

The library is awful and copylefted, but it's the only reasonable
thing that works.
2021-12-11 16:11:25 +01:00
Přemysl Eric Janouch 5f4090aaee
pnginfo: extract some ImageMagick profiles 2021-12-10 19:08:37 +01:00
Přemysl Eric Janouch fa15707d9b
pnginfo: extract eXIf chunk data 2021-12-10 17:23:26 +01:00
Přemysl Eric Janouch 16c6766e79
jpeginfo: update comment 2021-12-07 10:21:21 +01:00
Přemysl Eric Janouch 3fe2f60a19
jpeginfo: clean up MPF 2021-12-06 20:54:25 +01:00
Přemysl Eric Janouch a519a5dec6
jpeginfo: describe Photoshop records 2021-12-06 19:00:00 +01:00
Přemysl Eric Janouch 4b306b7c93
Don't crash the view when no image is present 2021-12-06 15:29:31 +01:00
Přemysl Eric Janouch 8e2958051d
jpeginfo: mostly finish Exif decoding
Diminishing returns and all.
2021-12-05 16:11:41 +01:00
Přemysl Eric Janouch 1ae803a62e
jpeginfo: decode the main Exif subIFD 2021-12-05 14:06:14 +01:00
Přemysl Eric Janouch 55d8fdebf1
jpeginfo: review and update TIFF 2021-12-05 11:54:11 +01:00
Přemysl Eric Janouch e2bdda77a3
jpeginfo: decode MPF MPEntry 2021-12-05 10:23:25 +01:00
Přemysl Eric Janouch bac9cd24fc
jpeginfo: clean up
No more -Wunused-function warnings.
2021-12-04 10:32:32 +01:00
Přemysl Eric Janouch 7cb2879c03
jpeginfo: trivially decode Multi-Picture Format 2021-12-04 09:34:14 +01:00
Přemysl Eric Janouch 68009c1d3e
jpeginfo: descend into Exif IFDs 2021-12-04 07:04:34 +01:00
Přemysl Eric Janouch 5d659d208c
jpeginfo: parse all numeric TIFF values 2021-12-04 06:52:25 +01:00
Přemysl Eric Janouch 4d9236336c
jpeginfo: parse TIFF UNDEFINED values 2021-12-04 06:52:25 +01:00
Přemysl Eric Janouch 4cbf9239ee
jpeginfo: decode more TIFF tags and values 2021-12-04 06:04:33 +01:00
Přemysl Eric Janouch 64d2f902f2
jpeginfo: fix a typo from the TIFF 6.0 spec 2021-12-04 06:04:29 +01:00
Přemysl Eric Janouch 15f57a079e
jpeginfo: decode some TIFF/Exif values 2021-12-03 15:54:02 +01:00
Přemysl Eric Janouch 06779c6bdd
jpeginfo: decode basic TIFF tag names 2021-12-03 14:57:55 +01:00
Přemysl Eric Janouch 46c46ac093
jpeginfo: clean up 2021-12-03 14:19:48 +01:00
Přemysl Eric Janouch 38427ff88e
jpeginfo: add a basic TIFF/Exif parser 2021-12-03 13:10:52 +01:00
Přemysl Eric Janouch 24de9aee53
jpeginfo: multisegment Exif, rough PSIR 2021-12-03 10:49:14 +01:00
Přemysl Eric Janouch a31b08a2d1
RAW -> raw photos 2021-12-02 13:01:31 +01:00
Přemysl Eric Janouch 7b53edd6af
jpeginfo: parse out ICC profile name and version 2021-12-01 13:04:43 +01:00
Přemysl Eric Janouch 9707b6a254
jpeginfo: human-friendly frame content description 2021-12-01 09:10:29 +01:00
Přemysl Eric Janouch 5bcaf39b32
jpeginfo: fix a minor memory leak 2021-12-01 08:52:10 +01:00
Přemysl Eric Janouch 9c77aac640
Add a tool to extract information from JPEG images 2021-12-01 08:38:13 +01:00
Přemysl Eric Janouch 0d9cb78f03
Force sanitizers for debug builds 2021-11-30 22:53:01 +01:00
Přemysl Eric Janouch 1db233648f
Add more key bindings 2021-11-29 22:45:36 +01:00
Přemysl Eric Janouch cfe3dc55c6
Animate animations 2021-11-28 23:41:09 +01:00
Přemysl Eric Janouch 33f24fa184
Update comments 2021-11-28 19:15:38 +01:00
Přemysl Eric Janouch 6fc5d7a3d7
Improve Wuffs animation loading 2021-11-28 19:09:33 +01:00
Přemysl Eric Janouch d930b2b245
Get ICC profile and orientation from libtiff
Pain has been outsourced to someone from the past,
I just blindly trust the orientation mapping.
2021-11-28 03:39:36 +01:00
Přemysl Eric Janouch 666bfc0759
Support using libtiff directly
Multiple directories are read as multiple pages.

The error handling is mildly questionable, as is libtiff.
2021-11-28 02:20:23 +01:00
Přemysl Eric Janouch f1742ec7da
Fix an annoying double-unref 2021-11-28 01:58:58 +01:00
Přemysl Eric Janouch 1ee975b110
Bump the spng wrap to 0.7.1
Removes an annoying warning.

Manual job, not in the wrap database yet.
2021-11-27 20:21:52 +01:00
Přemysl Eric Janouch c39ac1a9da
Enable viewing all X11 cursor sizes 2021-11-27 18:59:05 +01:00
Přemysl Eric Janouch 085f2d7eef
Use GFile a bit more 2021-11-27 02:34:24 +01:00
Přemysl Eric Janouch b97ac26cfb
Allow opening in a new window from the sidebar 2021-11-26 23:02:00 +01:00
Přemysl Eric Janouch bae65a61f7
Add an option to turn off filtering 2021-11-26 22:35:29 +01:00
Přemysl Eric Janouch 174896d3e6
Nullify a concern 2021-11-26 22:28:43 +01:00
Přemysl Eric Janouch 6c089eb1d2
Support CMYK JPEGs on big endian 2021-11-26 22:28:42 +01:00
Přemysl Eric Janouch 18e96d8c9d
Allow frame iteration in both directions 2021-11-26 20:54:41 +01:00
Přemysl Eric Janouch bd7f2f8c98
Handle Exif rotation
Does not currently work for SVG and X11 cursors.
2021-11-26 19:54:22 +01:00
Přemysl Eric Janouch 8c89759325
Allow manual animation frame iteration 2021-11-26 17:14:51 +01:00
Přemysl Eric Janouch dd8461cebf
Parse out Exif orientation 2021-11-26 17:00:36 +01:00
Přemysl Eric Janouch bafad1a67e
Add a function to decode TIFF/Exif Orientation 2021-11-26 03:16:41 +01:00
Přemysl Eric Janouch a5f64b1a65
Extract ICC profiles from gdk-pixbuf 2021-11-26 00:46:19 +01:00
Přemysl Eric Janouch f151fcb72b
Extract all frames from GIF/APNG animations
So far none of the surface userdata is used.
2021-11-25 16:56:42 +01:00