bac9fce4e0
Fix argument order in g_malloc0_n() usages
Alpine 3.20 Scripts failed
2024-07-10 00:30:27 +02:00
e57364cd97
Fix openSUSE 15.5 and Win32 builds
2024-04-06 23:56:47 +02:00
7330f07dd7
Fix LibRaw 0.20 compatibility
2024-03-28 16:03:40 +01:00
115a7bab0f
Fix a build issue, and a big endian conversion
2024-03-13 18:47:05 +01:00
91538aaba5
Add an experimental OpenGL renderer
2024-03-13 15:27:31 +01:00
604594a8f1
Prepare for parallelized colour management
...
This rewrite is more or less necessary for:
- colour-managed browser thumbnails,
- asynchronous image loading,
- turning fiv-io into a reusable library.
Little CMS has a fairly terrible API in this regard.
2024-01-28 01:48:28 +01:00
3c8a280546
Move colour management to its own compilation unit
...
Also make it apparent that CMM profiles are pointer types.
This isn't all that pretty, but it's a necessary first step.
2024-01-26 19:17:54 +01:00
96189b70b8
Mark places where lcms2 should use contexts
2024-01-26 17:25:04 +01:00
84269b2ba2
Load AdobeRGB Nikon JPEGs correctly
2024-01-23 22:18:17 +01:00
c04c4063e4
Fix a class of animated transparent WebPs
2023-12-28 07:48:11 +01:00
aed6ae6b83
Add a comment regarding high-precision JPEGs
2023-12-05 04:57:01 +01:00
bae640a116
Circumvent JPEG QS & libjpeg-turbo incompatibility
...
UV upsampling visibly requires JPEG QS to update its code
to follow recent changes within libjpeg-turbo.
2023-12-05 03:35:33 +01:00
d4b91d6260
Fix double colour management in the librsvg loader
2023-07-13 08:04:41 +02:00
840e7f172c
Colour-manage SVGs
2023-07-09 10:40:32 +02:00
9b99de99bb
Fix crash in the librsvg loader
2023-07-09 04:39:35 +02:00
f05e66bfc1
Fix compatibility with newer resvg versions
2023-06-29 03:36:34 +02:00
4249898497
Fix build without JPEG Quant Smooth
2023-06-27 22:40:29 +02:00
1ef0a84bc7
Fix build with older versions of Cairo
2023-06-25 02:12:50 +02:00
bbfa2344d6
Fix colour management in animations
...
Bug introduced in d6e79cf
.
2023-06-24 14:36:25 +02:00
bb4d3acd12
Premultiply through Little CMS in animations
2023-06-24 14:36:24 +02:00
074bd4d37f
Stop abusing Cairo user data, part 2
...
With the shift from cairo_surface_t, we've lost our ability
to directly render vector surfaces, but it doesn't matter.
2023-06-24 14:36:24 +02:00
add96b37a6
Stop abusing Cairo user data, part 1
...
This commit temporarily breaks multi-page images and animations.
2023-06-24 13:56:36 +02:00
4f57070e27
Fix 32-bit build warnings
2023-06-23 13:56:32 +02:00
0318424540
Handle LibTIFF errors correctly
2023-06-13 13:49:30 +02:00
8d5885bfdf
Prevent a possibility of GdkPixbuf crashes
2023-06-13 13:36:24 +02:00
41b5ddc744
Fix thumbnailing with the GdkPixbuf loader
2023-06-13 13:21:03 +02:00
7dda3bd1ed
Make it possible to switch off our TIFF/EP loader
...
Slightly repurpose the "enhance" toggle, which doesn't particularly
make sense to run on a thumbnail.
2023-06-08 12:17:43 +02:00
a3a5eb33cf
Unify non/enhanced JPEG loading code
...
And in so doing, add missing warning redirection to JPEG Quant Smooth,
as well as downscaling.
We still heavily depend on libjpeg-turbo.
2023-06-08 09:47:55 +02:00
ee202ca28b
Fix enhancement of CMYK JPEGs
...
The conversion to RGB was done twice.
2023-06-07 21:57:51 +02:00
04db6ed6a1
Slightly clean up colour management
...
SVGs are now semi-managed.
2023-06-06 18:08:47 +02:00
d6e79cf976
With newer Little CMS, colour manage ARGB surfaces
2023-06-06 13:01:38 +02:00
6cc4ca1f44
Use Little CMS's alpha premultiplication feature
...
And do a little cleanup.
2023-06-06 12:20:03 +02:00
1c61fcc5bc
Move git submodules to a subdirectory
2023-06-04 12:57:47 +02:00
a710692725
Clean up namespace pollution
2023-05-28 10:13:04 +02:00
859736e5be
Move FivIoModel to its own compilation unit
2023-05-28 09:33:03 +02:00
d5b2e43364
Clean up
2023-05-28 08:50:46 +02:00
33251eaca7
Load MPF images as pages
2023-05-28 08:12:37 +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
0f1c61ae33
Extract all raw subimages as pages
...
And add missing colour management.
2023-05-26 13:30:22 +02:00
ac72a72afc
Mildly optimize raw image handling
...
Don't claim an alpha channel when we don't use it.
2023-05-21 22:56:29 +02:00
44c28f00d6
Make supported media type listing output unique
2023-04-17 07:19:37 +02:00
5e10f0ba54
Fix a logic error
2023-04-14 07:53:21 +02:00
eb44b6fb91
Fix a memory leak on image loading
2023-04-14 07:34:26 +02:00
a012011631
Deduplicate file information structures
2023-04-14 07:31:03 +02:00
05ac3a0651
Check filesize when retrieving thumbnails
...
In particular, this handles screenshots from Rigol oscilloscopes,
which reuse the same name series with the same file modification time.
2023-04-14 05:24:57 +02:00
1b50a834a5
Add optional browser filename labels
2023-04-11 06:04:27 +02:00
c646864805
Add directory tree traversal functionality
...
Thus far merely bound to the [ and ] keys in the browser.
2023-04-05 00:09:53 +02:00
796b05c9a5
Integrate online reverse image search
...
This makes use of our image processing capabilities in order to
turn arbitrary image files into normalized thumbnails,
upload them to a temporary host, and pass the resulting URI
to a search provider.
In future, fiv should ideally run the upload itself,
so that its status and any errors are obvious to the user,
as well as to get rid of the script's dependency on jq.
2023-03-15 05:52:32 +01:00
9286858573
Bump Wuffs
2023-03-07 20:26:04 +01:00