Monday, April 27, 2009

crop resize




To crop and then resize using convert from ImageMagick, make sure to read the image first:


convert 449A-waveform.png -crop 24000x150+10000+0 -resize "800x150\!" out.png