JPEG Compression

Command Details
i_o_format_jpg_{ratio} Compress image with JPEG comression. The ratio specify the compression ratio. Ratio is an integer between 0 and 100 where 0 is the most compression ratio whereas 100 is the best quality image.

PNG Compression

Command Details
i_o_format_png Compress and change the image format to PNG image format.