Skip to content

Creates thumbnails of images from a source directory.

Notifications You must be signed in to change notification settings

lysender/crabbythumb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crabbythumb

Creates thumbnails of images from source_dir to dest_dir:

  • source_dir must contain valid JPG, GIF or PNG images.
  • Images are cropped and resized to the exact dimension provided.
  • Cropping is positioned at the top of the image, removing excess area where necessary.
  • Images with EXIF orientation tags are automatically rotated.
  • Thumbnails are stored at dest_dir using the same filename.

Build

Clone the repo and build using cargo.

cargo build --release

Usage

crabbythumb --width 150 --height 125 --source_dir images/original --dest_dir images/thumbnails

Note: width and height are optional and defaults to 150x125 pixels.

About

Creates thumbnails of images from a source directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages