Jpeg Encoder

This is an example of JPEG encoding. It reads the input PGM image from the flash, encodes it to JPEG, and saves it to the workstation using semi-hosting.

You can run this example with CMake. Note: it can be take some time to run. Once it has been run, the output JPEG image can be opened in the build folder with

xview imgTest.jpg

Options

Via menuconfig you can choose:

  • the monochrome (default) or the color example;

  • to run the encoder on the Gap Cluster (default) or Fabric Controller;

  • the JPEG quality (10, 20, 50 default, 90, 95).