问题
Anyone know of a good method of cropping whitespace from an image? I have an external method which generates Image objects containing charts, but unfortunately they have lots of white space which I would like to remove.
Thanks, Alex
回答1:
Found a solution after googling for some different terms... Always happens...
For reference:
http://fitnessconnections.com/blog/remove-surrounding-white-space-from-an-image/
来源:https://stackoverflow.com/questions/3767463/cropping-whitespace-from-an-image