Posté le 28/08/2025 15:56
Planète Casio v4.3 © créé par Neuronix et Muelsaco 2004 - 2025 | Il y a 82 connectés | Nous contacter | Qui sommes-nous ? | Licences et remerciements
Planète Casio est un site communautaire non affilié à Casio. Toute reproduction de Planète Casio, même partielle, est interdite.
Les programmes et autres publications présentes sur Planète Casio restent la propriété de leurs auteurs et peuvent être soumis à des licences ou copyrights.
CASIO est une marque déposée par CASIO Computer Co., Ltd
Citer : Posté le 28/08/2025 15:59 | #
Normally you do that with fxconv, a tool in the SDK that converts an image (like a PNG file) into a bopti_image_t variable.
The first tutorial talks about it; if you machine-translate it you will get most of the information: https://www.planet-casio.com/Fr/forums/topic14914-1-tutoriels-dutilisation-de-gint.html#177757
In pratice, you go into CMakeLists, do fxconv_declare_assets(myimage.png) before adding it as a source file in the project. Then next to myimage.png you place a text file called fxconv-metadata.txt which tells fxconv how to convert the image and which variable name to give it. And finally in the C code you can extern-declare the variable and use it.