23 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 |
#1258 in Images
1,392 downloads per month
230KB
2.5K
SLoC
ferrite-core
Core functionality for the Ferrite image viewer. This crate provides the essential building blocks for image viewing, manipulation, and navigation.
Features
- Fast image loading with LRU caching
- Smooth zooming and panning
- Directory-based image navigation
- Configurable UI elements
Architecture
The crate is organized into several modules:
image/- Image loading, caching, and managementui/- User interface components and renderingnavigation/- Directory traversal and image navigation
Usage
use ferrite_core::FeriteApp;
use ferrite_config::FeriteConfig;
fn main() {
let config = FeriteConfig::default();
let app = FeriteApp::new(
&eframe::CreationContext::default(),
Some("path/to/image.jpg".into()),
config,
);
}
Dependencies
eframe,egui- GUI frameworkimage- Image processinglru- Cache managementtracing- Logging and diagnosticsferrite-config- Configuration management
License
Same as Ferrite main project
Dependencies
~33–82MB
~1.5M SLoC