Jump to content




Paintutils stuff


  • You cannot reply to this topic
1 reply to this topic

#1 ElectricOverride

  • Members
  • 94 posts

Posted 19 November 2012 - 03:23 AM

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?

#2 billysback

  • Members
  • 569 posts

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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users