Image browser and viewer
Go to file
Přemysl Eric Janouch 21b110a7d6
Use spng to load thumbnails
Speed matters here, and this makes us about 20 percent faster
at loading large directories.

Moreover, libpng's PNG_ALPHA_BROKEN is indeed broken.

Thumbnails have a fairly fixed format, so there are very few practical
corner cases that could have been missed.
2021-11-12 11:45:34 +01:00
tools tools: fix the Makefile 2021-11-01 05:17:25 +01:00
wuffs-mirror-release-c@7804ffe150 Bump wuffs 2021-11-02 04:53:33 +01:00
.clang-format Add clang-format configuration 2021-11-01 05:17:26 +01:00
.gitmodules Initial commit 2021-09-15 17:30:16 +02:00
fastiv-browser.c Use a checkerboard pattern on item background 2021-11-10 21:06:43 +01:00
fastiv-browser.h Incorporate most clang-format changes 2021-11-01 05:17:26 +01:00
fastiv-io-benchmark.c Fix obsolete header includes 2021-11-09 18:15:41 +01:00
fastiv-io.c Use spng to load thumbnails 2021-11-12 11:45:34 +01:00
fastiv-io.h Improve librsvg integration 2021-11-10 00:46:19 +01:00
fastiv-view.c Make the 1 key reset the zoom 2021-11-11 22:59:31 +01:00
fastiv-view.h Incorporate most clang-format changes 2021-11-01 05:17:26 +01:00
fastiv.c Fix GtkWidget::key-press-event callback prototype 2021-11-12 11:45:34 +01:00
fastiv.desktop Add very basic SVG support 2021-11-10 00:23:19 +01:00
fastiv.svg Add an icon and a desktop file 2021-09-16 18:01:01 +02:00
LICENSE Initial commit 2021-09-15 17:30:16 +02:00
meson_options.txt Add support for defaulting to gdk-pixbuf 2021-11-10 21:34:15 +01:00
meson.build Use spng to load thumbnails 2021-11-12 11:45:34 +01:00
README.adoc Use spng to load thumbnails 2021-11-12 11:45:34 +01:00
xdg.c Split out xdg.{c,h} 2021-11-01 05:17:26 +01:00
xdg.h Split out xdg.{c,h} 2021-11-01 05:17:26 +01:00

fastiv

fastiv is a fast image viewer, supporting BMP, PNG, GIF, JPEG, and optionally RAW and SVG pictures, or whatever gdk-pixbuf loads. Currently, its very basic.

Non-goals

  • fancy UI—the focus is on speed of use first, colour accuracy second

  • memory efficiency, though preloading can cause some pressure

  • portability to non-UNIXy systems

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 dependencies: Meson, pkg-config
Runtime dependencies: gtk+-3.0, pixman-1, shared-mime-info, spng>=0.7.0, libturbojpeg, LibRaw (optional), librsvg-2.0 (optional), gdk-pixbuf-2.0 (optional)

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

To install the application, you can do:

# meson install

Contributing and Support

Use https://git.janouch.name/p/fastiv 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.