Add a parameter for setting a compression/quality for the image