Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
tima_gt

paintutils API [InDev]

Recommended Posts

About library:
This library helps you to out ComputerCraft image in diamond computer.
How to use:

 

Install: Pastebin get xUyZWrab paintutils

 

how to connect: dofile("/path/to/paintutils/paintutils")

 

paintutils.loadImage("/path/to/computercraft/image/file/imagefile", X : integer, Y : integer, Color)

 

Example:
 

dofile("./paintutils")

paintutils.loadImage("./test", 1, 1, 0x000000)

 

Output of example:

3667bfe61949.png

 

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.