Skip to content

Instantly share code, notes, and snippets.

@h4cc h4cc/raw-thumbnails.md
Last active Aug 29, 2015

Embed
What would you like to do?
Using ufraw-batch for generating thumbnails in ubuntu.

Install

sudo apt-get install ufraw ufraw-batch

Create config

sudo vim /usr/share/thumbnailers/raw.thumbnailer

with content:

[Thumbnailer Entry]
TryExec=ufraw-batch
Exec=ufraw-batch --silent --size %s --out-type=png --noexif --output=%o --overwrite --embedded-image %i
MimeType=image/x-canon-cr2;image/x-canon-crw;image/x-minolta-mrw;image/x-nikon-nef;image/x-pentax-pef;image/x-panasonic-rw2;image/x-panasonic-raw2;image/x-samsung-srw;image/x-olympus-orf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.