Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to run the following command:

mogrify -path /somepath -resize '1600x1600>' *

are Images, that don't exceed the size of 1600x1600 copied to /somepath? (I am asking, since they would fall Through the '1600x1600<' filter)

Greetings Niklas

P.S.: I am currently on my windows machine, so I can't try it out.

share|improve this question
    
I'm not completely sure how being on Windows prevents you from trying it out. ImageMagick exists for Windows too. –  Michael Madsen Jul 22 '10 at 21:23
add comment

2 Answers

I did a quick test run on a 20x20 GIF I had lying about, and it resized the image and put it in the directory in question - so the answer would be "yes, after being resized".

share|improve this answer
    
The question was: is it resizes though the file did not match the filter e.g. was too small... what command did you run? –  niklasfi Jul 23 '10 at 7:49
    
@niklasfi: I ran the command you originally posted, mogrify -path /somepath -resize '1600x1600<' * - where you used < instead of >. With >, then correct, it does not resize. –  Michael Madsen Jul 28 '10 at 11:38
add comment

Ok. Finally on my Linux machine again. I ran

mogrify -resize '1600x1600>' -path /somewhere *

on a 100x100px Image. And in deed it copied the 100x100 image to /somewhere without resizing it. So the answer is. YES

share|improve this answer
add comment

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.