I haven't seen any mention of Dithertron (https://8bitworkshop.com/dithertron/#) or even its parent project, 8bitworkshop online IDE (https://8bitworkshop.com/). It supports the Amstrad CPC 6128.
Dithertron takes pictures and dithers them appropriately for loading on 8-bit computers. Here's a sample MODE 0 image I made earlier:
(https://scruss.com/wordpress/wp-content/uploads/2023/02/cpc-minor.png)
The IDE even makes a very simple viewer stub in Z80 assembly language, so you can load the image directly. Here's a sample disk image: morris_minor-cpc.zip (https://scruss.com/wordpress/wp-content/uploads/2023/02/morris_minor-cpc.zip)
Note that the viewer code stops in an infinite loop by default, but you can change it in the online IDE.
Awesome!!! I wonder if they have an API to dynamically convert?
That's pretty amazing!
Does anyone know how I can use the generated image file from C code? CPCtelera - as the CPC6128 examples are all using this - I'm using this tool as an intro to coding in CPCtelera C framework.
It did a great job of a mode1 image of my custom car :o
I think I found my own answer?: cpct_bin2c (http://lronaldo.github.io/cpctelera/files/commandline/cpct_bin2c-.html#cpct_bin2c)