aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.c
Commit message (Collapse)AuthorAgeFilesLines
* Prepare for parallelized colour managementPřemysl Eric Janouch2024-01-281-35/+42
| | | | | | | | | 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.
* Move colour management to its own compilation unitPřemysl Eric Janouch2024-01-261-341/+9
| | | | | | Also make it apparent that CMM profiles are pointer types. This isn't all that pretty, but it's a necessary first step.
* Mark places where lcms2 should use contextsPřemysl Eric Janouch2024-01-261-5/+5
|
* Load AdobeRGB Nikon JPEGs correctlyPřemysl Eric Janouch2024-01-231-6/+121
|
* Fix a class of animated transparent WebPsPřemysl Eric Janouch2023-12-281-3/+8
|
* Add a comment regarding high-precision JPEGsPřemysl Eric Janouch2023-12-051-0/+2
|
* Circumvent JPEG QS & libjpeg-turbo incompatibilityPřemysl Eric Janouch2023-12-051-1/+6
| | | | | UV upsampling visibly requires JPEG QS to update its code to follow recent changes within libjpeg-turbo.
* Fix double colour management in the librsvg loaderPřemysl Eric Janouch2023-07-131-1/+1
|
* Colour-manage SVGsPřemysl Eric Janouch2023-07-091-6/+6
|
* Fix crash in the librsvg loaderPřemysl Eric Janouch2023-07-091-2/+3
|
* Fix compatibility with newer resvg versionsPřemysl Eric Janouch2023-06-291-0/+5
|
* Fix build without JPEG Quant SmoothPřemysl Eric Janouch2023-06-271-1/+1
|
* Fix build with older versions of CairoPřemysl Eric Janouch2023-06-251-0/+2
|
* Fix colour management in animationsPřemysl Eric Janouch2023-06-241-1/+1
| | | | Bug introduced in d6e79cf.
* Premultiply through Little CMS in animationsPřemysl Eric Janouch2023-06-241-11/+8
|
* Stop abusing Cairo user data, part 2Přemysl Eric Janouch2023-06-241-116/+69
| | | | | With the shift from cairo_surface_t, we've lost our ability to directly render vector surfaces, but it doesn't matter.
* Stop abusing Cairo user data, part 1Přemysl Eric Janouch2023-06-241-469/+444
| | | | This commit temporarily breaks multi-page images and animations.
* Fix 32-bit build warningsPřemysl Eric Janouch2023-06-231-3/+3
|
* Handle LibTIFF errors correctlyPřemysl Eric Janouch2023-06-131-1/+2
|
* Prevent a possibility of GdkPixbuf crashesPřemysl Eric Janouch2023-06-131-0/+2
|
* Fix thumbnailing with the GdkPixbuf loaderPřemysl Eric Janouch2023-06-131-3/+13
|
* Make it possible to switch off our TIFF/EP loaderPřemysl Eric Janouch2023-06-081-6/+13
| | | | | Slightly repurpose the "enhance" toggle, which doesn't particularly make sense to run on a thumbnail.
* Unify non/enhanced JPEG loading codePřemysl Eric Janouch2023-06-081-104/+82
| | | | | | | And in so doing, add missing warning redirection to JPEG Quant Smooth, as well as downscaling. We still heavily depend on libjpeg-turbo.
* Fix enhancement of CMYK JPEGsPřemysl Eric Janouch2023-06-071-3/+0
| | | | The conversion to RGB was done twice.
* Slightly clean up colour managementPřemysl Eric Janouch2023-06-061-11/+13
| | | | SVGs are now semi-managed.
* With newer Little CMS, colour manage ARGB surfacesPřemysl Eric Janouch2023-06-061-27/+52
|
* Use Little CMS's alpha premultiplication featurePřemysl Eric Janouch2023-06-061-44/+73
| | | | And do a little cleanup.
* Move git submodules to a subdirectoryPřemysl Eric Janouch2023-06-041-1/+1
|
* Clean up namespace pollutionPřemysl Eric Janouch2023-05-281-4/+4
|
* Move FivIoModel to its own compilation unitPřemysl Eric Janouch2023-05-281-523/+0
|
* Clean upPřemysl Eric Janouch2023-05-281-31/+10
|
* Load MPF images as pagesPřemysl Eric Janouch2023-05-281-6/+120
|
* Make TIFF parsing a bit saferPřemysl Eric Janouch2023-05-281-5/+4
| | | | At least on 64-bit systems, 32-bit may still have holes.
* Extract some full-size raw previews without LibRawPřemysl Eric Janouch2023-05-261-60/+334
| | | | | Not all image/x-nikon-nef will work like this, so don't claim their MIME type.
* Extract all raw subimages as pagesPřemysl Eric Janouch2023-05-261-35/+49
| | | | And add missing colour management.
* Mildly optimize raw image handlingPřemysl Eric Janouch2023-05-211-1/+1
| | | | Don't claim an alpha channel when we don't use it.
* Make supported media type listing output uniquePřemysl Eric Janouch2023-04-171-3/+8
|
* Fix a logic errorPřemysl Eric Janouch2023-04-141-1/+1
|
* Fix a memory leak on image loadingPřemysl Eric Janouch2023-04-141-1/+4
|
* Deduplicate file information structuresPřemysl Eric Janouch2023-04-141-67/+103
|
* Check filesize when retrieving thumbnailsPřemysl Eric Janouch2023-04-141-1/+4
| | | | | In particular, this handles screenshots from Rigol oscilloscopes, which reuse the same name series with the same file modification time.
* Add optional browser filename labelsPřemysl Eric Janouch2023-04-111-1/+4
|
* Add directory tree traversal functionalityPřemysl Eric Janouch2023-04-051-35/+163
| | | | Thus far merely bound to the [ and ] keys in the browser.
* Integrate online reverse image searchPřemysl Eric Janouch2023-03-151-1/+83
| | | | | | | | | | | 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.
* Bump WuffsPřemysl Eric Janouch2023-03-071-3/+2
|
* Fix LibRaw 0.21.0 buildPřemysl Eric Janouch2022-12-231-5/+3
|
* Fix LibRaw 0.21.0 buildPřemysl Eric Janouch2022-12-231-0/+5
|
* Support opening collections of filesPřemysl Eric Janouch2022-08-081-5/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement a process-local VFS to enable grouping together arbitrary URIs passed via program arguments, DnD, or the file open dialog. This VFS contains FivCollectionFile objects, which act as "simple" proxies over arbitrary GFiles. Their true URIs may be retrieved through the "standard::target-uri" attribute, in a similar way to GVfs's "recent" and "trash" backends. (The main reason we proxy rather than just hackishly return foreign GFiles from the VFS is that loading them would switch the current directory, and break iteration as a result. We could also keep the collection outside of GVfs, but that would result in considerable special-casing, and the author wouldn't gain intimate knowledge of GIO.) There is no perceived need to keep old collections when opening new ones, so we simply change and reload the contents when needed. Similarly, there is no intention to make the VFS writeable. The process-locality of this and other URI schemes has proven to be rather annoying when passing files to other applications, however most of the resulting complexity appears to be essential rather than accidental. Note that the GTK+ file chooser widget is retarded, and doesn't recognize URIs that lack the authority part in the location bar.
* Don't crash on orphan URIsPřemysl Eric Janouch2022-08-081-2/+3
|
* Remove forgotten include directivePřemysl Eric Janouch2022-07-201-2/+0
|