Crates.io | miniaturo |
lib.rs | miniaturo |
version | 0.6.0 |
source | src |
created_at | 2023-12-26 11:50:47.735686 |
updated_at | 2023-12-26 11:50:47.735686 |
description | A RAW image thumbnailer. Intended to be a drop-in replacement for the (mostly unmaintained) raw-thumbnailer project. |
homepage | |
repository | https://github.com/dbrgn/miniaturo |
max_upload_size | |
id | 1080861 |
size | 64,141 |
A RAW image thumbnailer written in Rust.
This project is intended to be a drop-in replacement for the (mostly unmaintained) raw-thumbnailer project.
:warning: Note: Miniaturo requires libopenraw 0.3, which was released in December 2020. As of early 2021, this library version is not yet bundled with distros that don't follow rolling releases. In those cases you need to manually install libopenraw.
For building:
Ideally, you get this project through a distribution package.
Alternatively, you can install through cargo from crates.io:
cargo install miniaturo
Or build it yourself:
cargo build --release
miniaturo uses libopenraw (0.3) to parse the RAW image and thus supports all camera formats that libopenraw supports.
The loading, resizing and encoding of the thumbnail is done in pure Rust using image-rs.
The name of this project is the Esperanto word for "thumbnail".
To run integration tests, first download the test images:
python3 tests/download-test-images.py
Then run tests:
cargo test
This project is licensed under the GPLv3 or later.
Copyright (C) 2021—2023 Danilo Bargen
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.