JPEG Bitmap Converter

Feature Description

The Traveo 2 JPEG Bitmap Converter allows the user to import compressed JPEG images directly into the solution using the JPEG bitmap profile. These JPEG images are then decoded by the onboard JPEG decoder at runtime. This means that the decompressed bitmaps need not be included in the assets, reducing the overall asset size.

Supported Platforms

At present, the JPEG Bitmap Converter is exclusively supported on the Infineon Traveo 2 platform.

Limitations

The JPEG Bitmap Converter currently has the following limitations.

Enabling the JPEG Decoder feature

If the JPEG Bitmap Converter feature is being used, ensure that the JPEG Decoder feature has been enabled in the CMAKE options. While generating the project for target, turn on the CMAKE flag CGIDEVICE_TRAVEO2_JPEG_DECODER_ENABLED or add this flag to the toolchain file.

drawing-7-1763097075.png

How to use the JPEG Bitmap Converter

  1. Import the JPEG image: Using the import menu, select "Import Resources"
    drawing-7-1763096261.png

  2. Choose a JPEG image and click "Open".
    drawing-7-1763096332.png


     

  3. In the import dialog box, create a new JPEG bitmap profile by checking the “Set bitmap profile” checkbox and then click the “Browse” button as shown in the image below. This only needs to be done once for a new solution, if a JPEG bitmap profile already exists, skip to Step 7.
    drawing-7-1763096393.png

  4. In the Bitmap Profile Palette window that opens, click on the add button as shown in the image below. If the Default Bitmap Profile is not populated on the right-hand side, populate it as shown below.
    drawing-7-1763096814.png

  5. In the Add new Bitmap Profile dialog that opens, populate the fields as shown in the image below. Click “Ok” once done.
    drawing-7-1763096861.png

  6. On the Bitmap Profile Palette, confirm that the JPEG Bitmap Converter has been added as shown in the image below and press Ok.
    drawing-7-1763096889.png

  7. Select the JPEG Bitmap Profile from the dropdown menu if it is not already selected as shown in the image below. Click Ok.
    drawing-7-1763096933.png

  8. Add the image to the scene by dragging and dropping it into the scene editor.
  9. Select “Generate Asset Library” option in File menu to generate the asset and check if the compressed JPEG images have been put into the asset.
  10. The asset generation export report should show the image of the encoded JPEG image. In the image below it is visible that the image is only 33kb which is much lesser than the decompressed bitmap size for the same image.
    drawing-7-1763096979.png


Revision #10
Created 2025-11-11 04:33:20 UTC by Capoor Shiv
Updated 2025-12-03 00:25:40 UTC by Kanai Tomoaki