Crop and border in the wrong order?
Posted: 2007-03-27T15:16:36-07:00
Hi
The following:seems to do the border before the crop so the top border is cropped out of existence.
I've tried reordering the options but I can't simply get the image cropped then add the border to what's left.
I've tried using chop, too and I seem to end up with just the border!
Short of piping one convert with a crop into another convert with the border, I'm running short if ideas. What should I be doing? Thanks.
The following:
Code: Select all
convert \
-crop +0+100 \
-bordercolor silver \
-border 10 \
in.jpg \
out.jpg
I've tried reordering the options but I can't simply get the image cropped then add the border to what's left.
I've tried using chop, too and I seem to end up with just the border!
Short of piping one convert with a crop into another convert with the border, I'm running short if ideas. What should I be doing? Thanks.