#image-viewer #ferrite #cache #view #image-loading

bin+lib ferrite-image

Image functionality for Ferrite image viewer

15 releases

0.1.25 Jul 21, 2025
0.1.24 May 17, 2025
0.1.22 Apr 18, 2025
0.1.21 Jan 6, 2025
0.1.17 Dec 31, 2024

#10 in #ferrite

Download history 3/week @ 2025-10-06 8/week @ 2025-10-13 11/week @ 2025-10-20 3/week @ 2025-10-27

990 downloads per month
Used in 3 crates

GPL-3.0-or-later

110KB
1.5K SLoC

Image handling functionality for the Ferrite image viewer.

This crate provides image loading, caching, and management capabilities.


Ferrite

IT VIEWS IMAGES FAST

Features

  • 🚀Blazingly-high-performance image loading with async caching
  • ⚙️Highly Configurable
  • 🎯Straight to the point

⚡Quick Start

cargo install ferrite
ferrite [IMAGE_PATH]

Keybindings

Navigation

  • Left Arrow / A: Previous image
  • Right Arrow / D: Next image
  • Q: Quit

🔍View Controls

  • + / = / W: Zoom in
  • - / S: Zoom out
  • 0: Reset zoom
  • F: Toggle fit mode

🖱️Mouse Controls

  • Scroll: Zoom in/out
  • Left Click + Drag: Pan image

⚙️Configuration

Ferrite uses TOML for configuration. Generate a default config:

ferrite --generate-config

The config file location is determined by:

  1. FERRITE_CONF environment variable
  2. Default XDG config path (~/.config/ferrite/config.toml)

Fields in config are self descriptive.

🏃PERFORMANCE

  • PARALLEL image loading
  • SMART caching system
  • ADAPTIVE memory usage
  • ASYNC I/O everywhere
  • GPU POWER via egui

License

GPL-3.0-or-later

Dependencies

~32–80MB
~1.5M SLoC