Set image size to 320x240 and quality to 0.5 jpeg