Background image removal component [closed]
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this questionI'm looking for an API/Library/Component to use in my Django app that takes an image as an input and returns the same im开发者_开发百科age with transparent background. I'm looking for something smarter than ImageMagick's floodfill http://www.imagemagick.org/Usage/channels/#mask_floodfill that detects the color of the background. Any suggestions?
In PIL you have im.save(filename, transparency=some_palette_index) for mode P images or putalpha method for RGB images.
精彩评论