remove white pixels

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
webshaker
Posts: 16
Joined: 2007-07-25T15:42:25-07:00

remove white pixels

Post by webshaker »

Hi.

I have this image
Image

I'd like to remove the white line and white column to obtain

Image

By white I mean white and almost white !!!

Thank's
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: remove white pixels

Post by Bonzo »

Have you tried -trim with a -fuzz setting?
webshaker
Posts: 16
Joined: 2007-07-25T15:42:25-07:00

Re: remove white pixels

Post by webshaker »

Bonzo wrote:Have you tried -trim with a -fuzz setting?
Yes!
Thank you that's works

convert -trim -fuzz "5%" original.jpg reduce.jpg
Post Reply