Resize a bunch of images written in Crystal Language
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Use CLI to resize images. This is just a personal tool that I use for my blogs (converting super large images to smaller sizes that I can safely upload onto my blog)

I was trying to find the correct tagalog word for "resize", but Google tells me its simply 'i-resize'... I thought of naming most of my projects in tagalog just to be sorta unique :D. Thus, the name of this project is iresize


Since I use magickwand-crystal, this tool inherits all the requirements of that shard.

  • libMagickWand must be installed
  • pkg-config must be available


I use Linux at home, so that's the only platform that I would generate binaries for.

  • Install the requirements first
  • Download the binary from the releases page
  • Add the binary to your path :)


iresize -I ./ -O ./output -H 720 
iresize --input ./ --output ./output --height 720 --width 720
iresize --input ./ --output ./output --height 720 --watch


Flag Short Description Default Value
--input -I Path to the folder filled with images, or Path to the target image (JPEG and PNG files are only supported as of now) ./
--output -O Path to the output folder ./output
--height -H Define the height we should resize the image(s) to. 720
--width -W Define the width we should resize the image(s) to. Keep aspect ratio
--watch Watch directory and auto convert files if new files are added false


  1. Fork it (
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request


  • dcefram Daniel Cefram Ramirez - creator, maintainer