Skip to content

Soddentrough/raw-thumbnailer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Raw Thumbnailer

A simple command-line tool and D-Bus service to generate thumbnails for raw image files.

Installation

Dependencies

You need to have Rust and Cargo installed to build this project.

Building and Installing

The easiest way to install raw-thumbnailer is using the provided Makefile. This will install the binary to /usr/local/bin and the GNOME thumbnailer configuration to /usr/local/share/thumbnailers.

sudo make install

To uninstall:

sudo make uninstall

Usage

Command-line

To generate a thumbnail from the command-line:

raw-thumbnailer [-s <size>] <input.raw> <output.png>
  • -s <size>: Optional. Specify the size of the thumbnail (default is 512). The thumbnail will be scaled to fit within a box of size x size while preserving aspect ratio.

D-Bus service

The tool can also be run as a D-Bus service, which is used by some applications to request thumbnails.

raw-thumbnailer --dbus

The service will be available at org.gnome.RawThumbnailer.

Logs

Logs are written to standard error (stderr). When running as a system service or within GNOME, these logs can typically be viewed using journalctl.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published