It works!
In paletted png images there's a palette chunk, ending with a crc. I do this:
1) load the file .png
2) find the palette chunk
3) change the color in the palette
3) find the new crc of the chunk & overwrite the old one
4) save the new file
It's very fast, if someone is interested I posted a sample code:
http://blitzbasic.com/codearcs/codearcs.php?code=1326
In paletted png images there's a palette chunk, ending with a crc. I do this:
1) load the file .png
2) find the palette chunk
3) change the color in the palette
3) find the new crc of the chunk & overwrite the old one
4) save the new file
It's very fast, if someone is interested I posted a sample code:
http://blitzbasic.com/codearcs/codearcs.php?code=1326