Image browser and viewer
Go to file
Přemysl Eric Janouch 68245b55c9
msys2-configure: only extract what we need
In case the packages directory has been preloaded or symlinked.
2023-06-26 21:38:59 +02:00
docs Implement our own Preferences dialog 2023-06-24 22:13:08 +02:00
resources Distinguish removed files more prettily 2023-06-01 19:11:20 +02:00
submodules Move git submodules to a subdirectory 2023-06-04 12:57:47 +02:00
subprojects Make the jpeg-quantsmooth wrap work on Debian 2022-07-23 15:23:44 +02:00
tools Stop abusing Cairo user data, part 1 2023-06-24 13:56:36 +02:00
.clang-format Add clang-format configuration 2021-11-01 05:17:26 +01:00
.gitignore Update .gitignore 2022-08-24 05:24:00 +02:00
.gitmodules Move git submodules to a subdirectory 2023-06-04 12:57:47 +02:00
fiv-browse.desktop Use the X-GNOME-FullName desktop file key 2022-02-21 22:29:14 +01:00
fiv-browser.c Avoid invisible browser entries 2023-06-04 10:36:42 +02:00
fiv-browser.h Move FivIoModel to its own compilation unit 2023-05-28 09:33:03 +02:00
fiv-collection.c Support opening collections of files 2022-08-08 18:06:50 +02:00
fiv-collection.h Support opening collections of files 2022-08-08 18:06:50 +02:00
fiv-context-menu.c Add trashing to file context menus 2023-05-30 10:20:09 +02:00
fiv-context-menu.h Add the information dialog to context menus 2022-08-05 11:38:12 +02:00
fiv-io-model.c Improve compatibility with older dependencies 2023-06-10 11:52:49 +02:00
fiv-io-model.h Process some GFileMonitor events 2023-05-31 18:39:14 +02:00
fiv-io.c Fix build with older versions of Cairo 2023-06-25 02:12:50 +02:00
fiv-io.h Stop abusing Cairo user data, part 2 2023-06-24 14:36:24 +02:00
fiv-jpegcrop.c Make binaries say what git commit they come from 2022-08-13 12:42:21 +02:00
fiv-jpegcrop.desktop Add a lossless JPEG cropper 2022-02-19 20:48:38 +01:00
fiv-reverse-search Integrate online reverse image search 2023-03-15 05:52:32 +01:00
fiv-reverse-search.desktop.in Integrate online reverse image search 2023-03-15 05:52:32 +01:00
fiv-sidebar.c Update sidebar entries on change automatically 2023-06-02 07:44:42 +02:00
fiv-sidebar.h Move FivIoModel to its own compilation unit 2023-05-28 09:33:03 +02:00
fiv-thumbnail.c Use LocalAppData for thumbnails on Windows 2023-06-26 02:11:12 +02:00
fiv-thumbnail.h Process some GFileMonitor events 2023-05-31 18:39:14 +02:00
fiv-update-desktop-files.in Integrate online reverse image search 2023-03-15 05:52:32 +01:00
fiv-view.c Implement our own Preferences dialog 2023-06-24 22:13:08 +02:00
fiv-view.h Add support for copying to clipboard 2022-08-04 00:35:22 +02:00
fiv.c Centralize the project's URL 2023-06-26 15:46:10 +02:00
fiv.desktop Support opening collections of files 2022-08-08 18:06:50 +02:00
fiv.gschema.xml Move and extend the browser toolbar 2023-04-11 06:33:22 +02:00
fiv.manifest Automate Windows builds, add icons to executables 2022-08-11 00:19:59 +02:00
fiv.rc Automate Windows builds, add icons to executables 2022-08-11 00:19:59 +02:00
fiv.svg Improve the icon 2022-01-09 09:47:44 +01:00
fiv.wxs.in Centralize the project's URL 2023-06-26 15:46:10 +02:00
LICENSE Bump copyright years 2023-03-30 20:46:08 +02:00
meson_options.txt Add support for the Little CMS fast float plugin 2023-06-04 16:16:52 +02:00
meson.build Centralize the project's URL 2023-06-26 15:46:10 +02:00
msys2-configure.sh msys2-configure: only extract what we need 2023-06-26 21:38:59 +02:00
msys2-install.sh Make cross-compilation scripts work from MSYS2 2023-06-22 04:06:38 +02:00
msys2-package.sh Package the MSI from within a custom target 2023-06-26 15:34:10 +02:00
README.adoc Package the MSI from within a custom target 2023-06-26 15:34:10 +02:00
tiff-tables.awk Extract some full-size raw previews without LibRaw 2023-05-26 15:32:34 +02:00
tiff-tables.db Move MPF constants and table to tiff-tables.db 2023-05-28 08:12:36 +02:00
tiffer.h Fix 32-bit build warnings 2023-06-23 13:56:32 +02:00
xdg.c Improve XDG path handling on Windows 2022-08-09 17:29:42 +02:00
xdg.h Split out xdg.{c,h} 2021-11-01 05:17:26 +01:00

fiv

fiv is a slightly unconventional, general-purpose image browser and viewer for Linux and Windows (macOS still has major issues).

Screenshot of both the browser and the viewer

Features

  • Uses a compact thumbnail view, helping you browse collections comfortably.

  • Supports BMP, (A)PNG, GIF, TGA, JPEG, WebP directly, plus optionally raw photos, HEIC, AVIF, SVG, X11 cursors and TIFF, or whatever your gdk-pixbuf modules manage to load.

  • Employs high-performance file format libraries: Wuffs and libjpeg-turbo.

  • Makes use of 30-bit X.org visuals, whenever its possible and appropriate.

  • Has a notion of pages, and tries to load all included content within files.

  • Can keep the zoom and position when browsing, to help with comparing zoomed-in images.

Explicit non-goals

  • Editing—thats what editors are for, be it GIMP or Rawtherapee; nothing beyond the most basic of adjustments is desired.

  • Following the latest GNOME HIG to the letter—header bars are deliberately avoided, for their general user hostility.

  • Memory efficiency is secondary to both performance and development effort.

Aspirations

Show colours as accurately as hardware allows. Open everything. Be fast. Not necessarily in this order.

Packages

Regular releases are sporadic. git master should be stable enough. You can get a package with the latest development version from Archlinuxs AUR.

Building and Running

Build-only dependencies: Meson, pkg-config, asciidoctor or asciidoc (recommended but optional)
Runtime dependencies: gtk+-3.0, glib>=2.64, pixman-1, shared-mime-info, libturbojpeg, libwebp, librsvg-2.0 (for icons)
Optional dependencies: lcms2, Little CMS fast float plugin, LibRaw, librsvg-2.0, xcursor, libheif, libtiff, ExifTool, resvg (unstable API, needs to be requested explicitly)
Runtime dependencies for reverse image search: xdg-utils, cURL, jq

$ git clone --recursive https://git.janouch.name/p/fiv.git
$ meson setup builddir
$ cd builddir
$ meson compile

Considering the vast amount of dynamically-linked dependencies, do not attempt direct installations via ninja install. To test the program:

$ meson devenv fiv

The lossless JPEG cropper and reverse image search are intended to be invoked from a context menu.

Windows

fiv can be cross-compiled for Windows, provided that you install a bunch of dependencies listed at the beginning of msys2-configure.sh, plus rsvg-convert from librsvg2, icotool from icoutils, and msitools ≥ 0.102. Beware that the build will take up about a gigabyte of disk space.

$ sh -e msys2-configure.sh builddir
$ meson compile package -C builddir

If everything succeeds, you will find a portable build of the application in the builddir/package subdirectory, and a very basic MSI installation package in builddir.

Faster colour management

To get the Little CMS fast float plugin, youll have to enter MSYS2 and rebuild mingw-w64-lcms2 with the following change:

sed -i 's/meson setup /&-Dfastfloat=true /' PKGCONFIG

Documentation

For information concerning usage, refer to the user guide, which can be invoked from within the program by pressing F1.

Contributing and Support

Use https://git.janouch.name/p/fiv to report any bugs, request features, or submit pull requests. git send-email is tolerated. If you want to discuss the project, feel free to join me at ircs://irc.janouch.name, channel #dev.

Bitcoin donations are accepted at: 12r5uEWEgcHC46xd64tt3hHt9EUvYYDHe9

License

This software is released under the terms of the 0BSD license, the text of which is included within the package along with the list of authors.