HTTP Curl response from TinyPNG, how to set query string "--silent --output thumbnail.jpg"

Hi Sam,

The URL is image file upload to TinyPNG, I will need to do compression and resize with that image. Then using CURL coomand to get --output optimzied.jpg. If no output file specificed, it will return bitmap.