fixed a line where it was compressing as PNG instead of JPEG, not sure if that helps with image size