Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- convert -size 120x120 cockatoo.jpg -resize 120x120 +profile "*" thumbnail.jpg
- In this example, '-size 120x120' gives a hint to the JPEG decoder that the image is going to be downscaled to 120x120, allowing it to run faster by avoiding returning full-resolution images to ImageMagick for the subsequent resizing operation. The '-resize 120x120' specifies the desired dimensions of the output image. It will be scaled so its largest dimension is 120 pixels. The '+profile "*"' removes any ICM, EXIF, IPTC, or other profiles that might be present in the input and aren't needed in the thumbnail.
Add Comment
Please, Sign In to add comment