I want to crop the top 10 pixels of an image, but to keep the width
All exmaples I found look like
convert rose: -crop 90x60-10-10 crop_all.gif
I need to supply the 90x60 so for the result size
How can I crop with something like +0+10
and not supply a final size
I think you need this to chop 10px off the top edge:
Just for completeness, if you want to chop 10px off the bottom, do this:
And to chop 10px off the left edge:
and 10px off the right edge:
The reason you don't need to specify
-gravity
for top and left sides is that the default value for the-gravity
setting is NorthWest.