Page 1 of 1
Posted: 2006-06-19T07:27:51-07:00
by magick
Use -trim to remove borders from your image. Add -fuzz if the border is not of uniform color.
Posted: 2006-06-20T23:26:12-07:00
by anthony
If you also specifically add a 1 pixel black border to the starting image before using
-trim, then you can gurantee that it will only trim black.
This added black border becomes especially important which you also use a
-fuzz factor, otherwise you can not be sure what color the color comparision function is comparing against. It may not be pure black
for example.
See IM Examples, for Image Trimming with a specific color.
http://www.cit.gu.edu.au/~anthony/graph ... trim_color