Search found 4 matches

by sameersbn
2011-08-07T01:12:18-07:00
Forum: Users
Topic: Removing Black Borders from Image
Replies: 6
Views: 24429

Re: Removing Black Borders from Image

For reference here's the command i am using:

Command:
convert before.jpg -bordercolor black -border 1x1 -fuzz 20% -trim after.jpg

References:
http://www.imagemagick.org/script/comma ... s.php#trim
http://www.imagemagick.org/Usage/crop/#trim

Regards
~Sameer
by sameersbn
2011-08-06T22:30:37-07:00
Forum: Users
Topic: Removing Black Borders from Image
Replies: 6
Views: 24429

Re: Removing Black Borders from Image

This is perfect.
Thanks guys.
by sameersbn
2011-08-06T12:38:24-07:00
Forum: Users
Topic: Removing Black Borders from Image
Replies: 6
Views: 24429

Re: Removing Black Borders from Image

great! thanks for the info.
i was trying to figure out how -fuzz is specified. the doc says distance but couldn't figure out how it is specified.
by sameersbn
2011-08-05T06:51:38-07:00
Forum: Users
Topic: Removing Black Borders from Image
Replies: 6
Views: 24429

Removing Black Borders from Image

Hi, I have developed application that uses ffmpeg to generate a thumbnail of a video. If the video has black borders then the black borders are also part of the image. I was wondering if it was possible to clip the black borders from the image using magick. Tried searching on google but could not ...