I'm running the following to first pad an image and then resize it to 64x64:
convert img.jpg -gravity center -background white -extent "$extent_factor"x"$extent_factor" -resize 64x64 img.jpg
Here extent_factor is the height or width of the image (whichever is larger).
Resizing each image takes ~5 ...
Search found 1 match
- 2015-02-14T01:17:12-07:00
- Forum: Users
- Topic: Speed up convert for padding and resizing
- Replies: 2
- Views: 1745