quantize.rb This script to quantize images (CMYK to RGB) with ImageMagick (rmagick). How to use Place images you want to quantize in resource directory and execute quantize.rb like that. ruby quantize.rb Quantized images will be placed at output directory.