I did some testing, and I don't think that readpixel is the solution to my problem. I want to be able change the colors displayed when drawing a png with the setColor function (or if I can get a similar effect with pixmaps, and then find the rgb value of the result, ie the rgb values being shown on the screen after a greyscale has been drawn using drawImage after setting setColor to something other than 255,255,255. Perhaps I'm going about this the wrong way though, would it be better if instead I drew my lines and rectangles with a known rgb, and then used write pixel to change values in a pixmap?
Getting RGB values from an image
BlitzMax Forums/BlitzMax Beginners Area/Getting RGB values from an imageThe 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.