Read/Write pixel data
BlitzMax Forums/BlitzMax Programming/Read/Write pixel data
| ||
Do you guys know how to translate the value that comes from the "readPixel" command into and R,G,and B values and then convert back again so it can be used in "writePixel"? My intent is to be able to manipulate the values then write them back out to the pix map, but I'm not sure what that format is. |
| ||
This should help. |
| ||
If you want something simple for pre-/post- processing of pixmaps here’s a ‘template’ function that you might find useful: |