Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 929 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 929 Bytes

thumbrs

Photo thumbnailer and metadata extractor written in rust

Build Status

screencast

Usage

thumbrs <inpath> <outpath>

This will walk the given input path recursively, finding all photos. For each photo, thumbrs will

  • extract EXIV metadata (like file size, orientation, rating, camera model). The metadata of all photos within a directory are aggregated into a _<dirname>.json file
  • generate thumbnails in various sizes (in parallel) The input's directory structure is mirrored in <outpath>.

Building

On Ubuntu 17.04:

sudo apt install dh-autoreconf nasm # for building mozjpeg-sys
sudo apt install libgexiv2-dev

git clone https://github.com/thorbenk/thumbrs.git && cd thumbrs
cargo build --release