Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I am familiar with convert -resize % for decreasing a size by percentage but what is the command to increase an image from say 700 pixels to 800 pixels? Horizontal width should resize, too. I need to preserve the overall quality and look of the image as best as possible.

EDIT:

mogrify -resize geometry

that appears to be what I need to resize the images. Link to article for the next person trying to figure out how to resize.

share|improve this question

1 Answer 1

convert -resize $((800/7))%

or

convert -resize 114.28571%

would do the resizing. As for controlling the image quality, you might want to check the -filter and -support options.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.