a python system for content aware image re-sizing