Pixmap (LoadImage)
Monkey Forums/Monkey Programming/Pixmap (LoadImage)
| ||
Hello All, Is it possible to load a image like you did in Blitzmax thru pixmap so we can do a ReadPixel / WritePixel..? I was looking and saw a few post about the Pixmap class made, and it awsome, but I was wondering if there was a way to add more to this.. William Mc. |
| ||
Nope not currently possible with Monkey, as you would need to code the native functions yourself... |
| ||
I was looking around the web some more about HTML canvas.. and it looks like there is a possible way of doing it.. See: http://beej.us/blog/2010/02/html5s-canvas-part-ii-pixel-manipulation/ I will have to play some more with it.. |
| ||
All the current targets can do it natively but right now Monkey doesnt have these functions... The SetColor command uses pixel manipulation for HTML5 check out the source files. |