So, I checked the paintutils API on my adv computer, and I noticed paintutils.loadImage(path) and paintutils.drawImage(image,x,y).
I was just woundering what they did?
Paintutils stuff
Started by ElectricOverride, Nov 19 2012 03:23 AM
1 reply to this topic
#1
Posted 19 November 2012 - 03:23 AM
#2
Posted 19 November 2012 - 03:33 AM
The open and write images in a .nfp format, loadImage() returns a table containing the image, use
image[x][y]
to acces pixel data I believe, drawImage(image, x, y) draws an image...
there was a post about making these types of posts earlier, there's a wiki and a search bar for a reason, please look at the wiki.
image[x][y]
to acces pixel data I believe, drawImage(image, x, y) draws an image...
there was a post about making these types of posts earlier, there's a wiki and a search bar for a reason, please look at the wiki.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











