Page 1 of 1

auto crop question

Posted: 2008-07-10T02:51:42-07:00
by crowfoot
Hi there,

I have a large transparent png with a small object in the middle. can and what code do I need to use autocrop to trim down to the bounds of the object in the middle?

thanks

Re: auto crop question

Posted: 2008-07-10T06:34:14-07:00
by Bonzo
-trim should work ?

convert input.png -trim output.png