Decoding images with Cool-chicΒΆ

In order to offer fast decoding, Cool-chic relies on a C API re-implementing efficiently all the components of the decoder i.e ARM, Upsampling, Synthesis.

The following script is used to decode image with Cool-chic:

(venv) ~/Cool-Chic$ python coolchic/decode.py -i=bitstream.cool -o=decoded_image.ppm

Attention

By default, Cool-chic decoder leverages AVX2 CPU instructions for faster decoding. If these instructions not available on your device, use the --no_avx2 argument.

Note that Cool-Chic outputs either PPM (and not PNG!) or YUV files.