aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.c
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Add missing array sentinel valuePřemysl Eric Janouch2022-07-191-1/+2
|
* Use GPatternSpec rather than fnmatch()Přemysl Eric Janouch2022-07-141-12/+24
| | | | | Fixing a portability issue on Windows, where we still aim to use the shared-mime-info database.
* Add flags to the serialization protocolPřemysl Eric Janouch2022-06-081-2/+5
| | | | | | | | | It still needs no versioning, as it's not really used by anyone. An alternative method of passing a "low-quality" flag would be perusing fiv_thumbnail_key_lq from fiv-thumbnail.c, which would create a circular dependency, unless fiv_io_{de,}serialize*() were moved to fiv-thumbnail.c.
* Clean upPřemysl Eric Janouch2022-06-051-17/+17
| | | | Use gchar when memory is allocated through GLib.
* Get rid of our spng dependencyPřemysl Eric Janouch2022-06-041-1/+165
| | | | Thumbnails can be properly loaded using Wuffs now.
* Bump Wuffs, support partial PNGs through itPřemysl Eric Janouch2022-06-041-11/+10
|
* Expose the mtime of the model's entriesPřemysl Eric Janouch2022-06-041-28/+17
|
* Plug two memory leaksPřemysl Eric Janouch2022-06-041-6/+5
|
* Fix loading huge JPEGsPřemysl Eric Janouch2022-03-091-0/+22
| | | | | | | | 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.
* Make thumbnailers pass back raw imagesPřemysl Eric Janouch2022-02-201-1/+65
|
* Use natural sort orderPřemysl Eric Janouch2022-02-201-12/+9
| | | | This is exposed in GLib through collate key construction.
* Add a TODO commentPřemysl Eric Janouch2022-02-181-0/+1
| | | | WebP can't save all JPEGs, because WEBP_MAX_DIMENSION is only 16383.
* Add a missing header file includePřemysl Eric Janouch2022-02-141-2/+3
|
* Add TGA to the list of supported media typesPřemysl Eric Janouch2022-01-251-0/+1
|
* Redirect warnings to the info barPřemysl Eric Janouch2022-01-241-70/+94
| | | | | | And speed up thumbnailing of animated images while at it. Also, fix thumbnailing SVGs with external links.
* Remove SVG debugging toolsPřemysl Eric Janouch2022-01-231-35/+2
| | | | I already know how librsvg over Cairo behaves.
* Add backend for accurate SVG scalingPřemysl Eric Janouch2022-01-231-29/+126
|
* Make truncated WebP parts always transparentPřemysl Eric Janouch2022-01-231-5/+22
|
* Load even partial WebP imagesPřemysl Eric Janouch2022-01-221-5/+16
|
* Reorder codePřemysl Eric Janouch2022-01-221-241/+242
|