This application contains a web block. Add this web block to the screen and use the client action 'DownloadImage' to download the desired web block as PNG image. Web block's Id needs to be passed as a parameter to the client action.
Added PNG as well as JPG options.