Posté le 11/10/2025 20:34
Planète Casio v4.3 © créé par Neuronix et Muelsaco 2004 - 2025 | Il y a 64 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 11/10/2025 21:40 | #
On G-III? There's no API for it yet, unfortunately. The format is designed for fast rendering and is thus quite cumbersome to modify.
A couple years ago I wrote a library called libimg which can edit images. It was a bit silly to make this a separate library, and since then all the image modification for color images (on fx-CG) have been merged into gint. I have plans to do the same for libimg's mono image format but sadly haven't done that so.
So the short answer is no not really. You can use libimg if that works in your case. And you can always revert to making a pixel array yourself and rendering it with two for loops and dpixel if the images you're modifying at runtime aren't too big or too frequent to be a performance hog.
Citer : Posté le 11/10/2025 22:52 | #
damn too bad
Wouldnt it be theoretically possible to modify the image by assigning a value to the image pointer at an index, like you would to an array pointer?
That might make no sense at all im just assumming thats how pointers work based on what i learned about them so far,
Citer : Posté le 11/10/2025 22:55 | #
Yes, you can access the data, with one limitation: you have to use section: .data in the fxconv metadata when you convert it, otherwise it's put in a memory location that's read-only.
When accessing the data, you then have to understand the format for how the pixels are laid out in memory, and you can change that by writing through the data pointer.
There's old documentation about the format here: https://git.planet-casio.com/Lephenixnoir/gint/wiki/bopti-on-fx-9860G
Citer : Posté le 12/10/2025 00:50 | #
thanks