Commit Graph

18 Commits

Author SHA1 Message Date
Přemysl Eric Janouch 024b5117b4
Get rid of our spng dependency
Thumbnails can be properly loaded using Wuffs now.
2022-06-04 23:14:15 +02:00
Přemysl Eric Janouch ac6b606ccc
Bump Wuffs, support partial PNGs through it 2022-06-04 19:19:16 +02:00
Přemysl Eric Janouch e2adac72cc
Use the model's mtime for validating thumbnails
Saves a syscall, generalizes fiv_thumbnail_lookup(),
wastes a tiny bit of memory per entry.
2022-06-04 16:37:25 +02:00
Přemysl Eric Janouch 5c34a6846a
Fix loading huge JPEGs
They fell back to gdk-pixbuf, then misrendered in the thumbnailer,
and crashed the program when loaded directly.

The second best we can do is scale them down, right after tiling,
which is a complex feature to add.
2022-03-09 18:04:36 +01:00
Přemysl Eric Janouch d9435c988c
Clean up 2022-02-21 21:20:16 +01:00
Přemysl Eric Janouch 919a55c90b
Try to thumbnail everything we can 2022-02-21 00:02:15 +01:00
Přemysl Eric Janouch 04ec292caf
Make thumbnailers pass back raw images 2022-02-20 21:14:33 +01:00
Přemysl Eric Janouch a28fbf25bc
Implement wide thumbnail cache invalidation 2022-02-20 15:44:42 +01:00
Přemysl Eric Janouch 788485d81e
Redirect warnings to the info bar
And speed up thumbnailing of animated images while at it.

Also, fix thumbnailing SVGs with external links.
2022-01-24 05:48:13 +01:00
Přemysl Eric Janouch 07e7d39ea2
Produce properly scaled SVG thumbnails 2022-01-23 04:12:11 +01:00
Přemysl Eric Janouch 6a878fd3c4
Bump more copyright years 2022-01-07 09:53:58 +01:00
Přemysl Eric Janouch 3274b64f5a
Fix SVG thumbnailing
They're not loaded as image surfaces.
2022-01-07 09:43:28 +01:00
Přemysl Eric Janouch bb67df716c
Mildly improve Ubuntu 20.04 compatibility 2022-01-06 08:39:33 +01:00
Přemysl Eric Janouch 5f8dc88fa7
Minor URL-related fix-ups 2021-12-31 00:41:04 +01:00
Přemysl Eric Janouch 380ddd540b
Convert all loading to use GFile
Now we're able to make use of GVfs, with some caveats.
2021-12-30 22:32:29 +01:00
Přemysl Eric Janouch 0110e0a5d2
Check wide thumbnail metadata 2021-12-29 01:55:05 +01:00
Přemysl Eric Janouch 98bdab443a
Hardcode Exif orientation in thumbnails 2021-12-28 23:29:58 +01:00
Přemysl Eric Janouch bf47782f0a
Move thumbnails into their own source file
And clean up identifiers.
2021-12-28 20:18:25 +01:00