max size of an image after its resizing and compression
value of quality that we want to have after image compression