Auto-crop in PIL?

Kevin Smith Kevin.Smith at sas.com
Thu Oct 30 09:42:36 EST 2003


Is there a way to "auto-crop" an image in PIL?  I have some PNG images 
with white backgrounds that I want cropped to show only the non-white 
portion in the center, but I don't see how I can do this.

-- 
Kevin Smith
Kevin.Smith at sas.com




More information about the Python-list mailing list