I'd like to know if there are any image librarys can cut the white edge of a picture automatically,
for example:
- cut The Wonderful Wizard of Oz.png 开发者_StackOverflow社区
- to cutted.png
opensource would be very handy
Thanks advance for your help.
Best regards,
hb
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.
精彩评论