Convert true color image to -- a few colors --

Blitz3D Forums/Blitz3D Programming/Convert true color image to -- a few colors --

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You have to define the RGB values of your colors.

Suggestions:
- Make a table of your color palette
- Make a routine that find the closest color from an RGB and returns the color in your color palette
- Try the 2 above with a routine that scans X and Y and replaces all colors with the resulting color from the "closest palette color" routine