Modifies image file sizes