Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .