2025-06-23 7:37 AM
Hello everyone,
I have recently updated my project's TouchGFX version from 4.23.2 to 4.24.0. After the migration, I am no longer able to generate code from the TouchGFX Designer.
The process fails during the "Generate Assets" step every time I click "Generate Code". I receive the following error message in the log:
The error points to the rgb_compression setting. I have checked my application.config file, and the configuration is set to "no", as shown below:
What I have tried so far:
None of these steps have resolved the issue. It seems like the asset generator in version 4.24.0 is either misinterpreting this valid setting or there's a new required configuration that I'm missing after the update.
Could someone please advise on what might be causing this? Is this a known issue with the 4.24.0 update? Are there any other steps I should take to debug this?
Thank you for your help!
2025-06-23 7:52 AM
The application.config:
{
"image_configuration": {
"dither_algorithm": "1",
"alpha_dither": "yes",
"layout_rotation": "0",
"opaque_image_format": "RGB888",
"nonopaque_image_format": "ARGB8888",
"l8_compression": "no",
"section": "ExtFlashSection",
"extra_section": "ExtFlashSection",
"images": {
"aa_boot.png": {
"extra_section": "ExtFlashSectionBoot",
"section": "ExtFlashSectionBoot"
},
"conexao.png": {
"format": "L8_ARGB8888"
},
"FundoMostradorCircular.png": {
"format": "L8_ARGB8888"
},
"FundoTecladoAlphaNum.png": {
"format": "L8_RGB888"
},
"logo_bkp.png": {
"section": "ExtFlashSectionBoot",
"extra_section": "ExtFlashSectionBoot"
},
"logo_img.png": {
"section": "ExtFlashSectionBoot",
"extra_section": "ExtFlashSectionBoot"
},
"meio.png": {
"format": "L8_ARGB8888"
},
"modalwindow_transp.png": {
"format": "L8_ARGB8888"
},
"modalwindow_transp800.png": {
"format": "L8_ARGB8888"
},
"placa.png": {
"format": "L8_ARGB8888"
},
"Vector 52.png": {
"format": "L8_ARGB8888"
}
},
"rgb_compression": "no"
},
"text_configuration": {
"remap": "yes",
"a4": "yes",
"binary_translations": "no",
"binary_fonts": "no",
"framebuffer_bpp": "24",
"font_format": "0"
}
}