Commit Graph

25 Commits

Author SHA1 Message Date
Přemysl Eric Janouch b935b0baf8
Use a unified filesystem model
This removes some duplication of effort.

So far, sorting adjustments are not exposed in the UI.
2022-01-05 03:48:22 +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 8b232dc444
Add pointless likelihood macros 2021-12-30 21:49:00 +01:00
Přemysl Eric Janouch 4832474c5f
Partially colour-manage TIFFs 2021-12-29 02:46:40 +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
Přemysl Eric Janouch c1af556751
Load back wide thumbnail metadata 2021-12-28 19:59:31 +01:00
Přemysl Eric Janouch 2d86ffed34
Save thumbnails lossily, with metadata 2021-12-28 18:54:27 +01:00
Přemysl Eric Janouch aaa7cb93c3
Fix transparent gdk-pixbuf loading 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch d4b51f07b5
Avoid unused alpha channels when rescaling 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch 720464327c
Clean up 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch ad1ff06aff
Avoid producing thumbnails of thumbnails 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch af2eb411d9
Try to regenerate low quality thumbnails 2021-12-28 02:07:42 +01:00
Přemysl Eric Janouch 336053f24d
Implement trivial wide thumbnail production
Also make libwebp a required dependency.
2021-12-27 21:51:01 +01:00
Přemysl Eric Janouch 2f993502fc
Make use of gAMA and sRGB PNG chunks
Neither EoG nor gThumb handle this correctly.
2021-12-26 03:25:38 +01:00
Přemysl Eric Janouch e5b1a1861c
Avoid double CM in saved WebPs 2021-12-26 02:02:57 +01:00
Přemysl Eric Janouch e37acf365a
Colour manage all WebP forms
It could be done better, but at least it works at all.
2021-12-26 01:14:27 +01:00
Přemysl Eric Janouch ccf15bc8ae
Almost fully colour-managed Wuffs (BMP, GIF, PNG) 2021-12-25 21:53:39 +01:00
Přemysl Eric Janouch 5e4476ff71
Improve gdk-pixbuf colour management 2021-12-25 19:15:54 +01:00
Přemysl Eric Janouch 7a4b5cd065
Colour manage opaque, up to 8-bit images 2021-12-25 18:28:37 +01:00
Přemysl Eric Janouch 40c1f8327e
Use Little CMS for JPEG colour management 2021-12-24 14:19:22 +01:00
Přemysl Eric Janouch 2d4cab52b3
Integrate jpeg-quantsmooth
Also, don't pointlessly store JPEGs in an ARGB Cairo surface.
2021-12-22 14:20:39 +01:00
Přemysl Eric Janouch ada67f044a
Optimize thumbnail rendering
Massive responsivity gains have been achieved here.

Rescaling performance doesn't seem to be particularly affected.
2021-12-20 04:40:35 +01:00
Přemysl Eric Janouch bac92f2612
Update a comment 2021-12-19 06:14:43 +01:00
Přemysl Eric Janouch b78010ccb1
Adopt shorter identifiers
Also, slightly reformat the source code according to clang-format.
2021-12-18 07:04:01 +01:00