Shrink image and lower quality to avoid memory issues