tags:

views:

36

answers:

1

Hi All,

I'd like to know if there are any image librarys can cut the white edge of a picture automatically,

for example:

opensource would be very handy

Thanks advance for your help.

Best regards,

hb

+2  A: 

Any popular image library should be able to get the pixel value from an image. You can probably just determine which area is white and then cut that off using the library and save the result.

Check out ImageMagick.

Chaoz
thanks a lot for all ,and I have found some examples here:http://www.imagemagick.org/Usage/crop/#trim_color
hashb