Small python script for easy image resizing to minimal size