Pixmap (LoadImage)

Monkey Forums/Monkey Programming/Pixmap (LoadImage)

FBEpyon(Posted 2011) [#1]
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.


therevills(Posted 2011) [#2]
Nope not currently possible with Monkey, as you would need to code the native functions yourself...


FBEpyon(Posted 2011) [#3]
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..


therevills(Posted 2011) [#4]
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.