batch pictures (including raw format) and video thumbnails creator
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jrm-omg d207c61e8f pruning 6 months ago
LICENSE first commit 6 months ago
README.md pruning 6 months ago
zthumb.sh removing m4a as a video extension .. it's an audio extension, haem 6 months ago

README.md

zthumb

a bash script that helps you making thumbnails from any pictures or video files

usage

zthumb.sh <filename>

and it will create a thumbnail in the folder where you are calling zthumb.sh

batch

if you wanna use it on many files, just use find :

find -type f -exec zthumb.sh {} \;

more demos

make single thumb in the current dir (300 x 300 px) :

zthumb.sh "IMG_6406.cr2";

make single 500x500 thumb in the current dir :

zthumb.sh "IMG_6406.cr2" "500x500";

loads of thumbs in the current dir :

find -type f -iname "*.jpg" -exec zthumb.sh {} \;

loads of 500x500 thumbs in the current dir :

find -type f -iname "*.jpg" -exec zthumb.sh {} "500x500"\;

loads of thumbs from a specific input folder :

find /media/canon/ -type f -iname "*.jpg" -exec zthumb.sh {} \;

rough input extensions selection, using find :

find -type f ( -iname "*.mov" -o -iname "*.mp4" -o -iname "*.jpg" -o -iname "*.jpeg" -o -iname "*.gif" -o -iname "*.dng" -o -iname "*.cr2" -o -iname "*.tif" -o -iname "*.tiff" \) -exec zthumb.sh {} \;

credits

find me on my /now page