A function such as
paintutils.read()would be useful in many applications.
Some ideas I had:
- A sort of "screen sketch"
- Screenshots
- Live gameplay over Rednet (like YouTube Gaming or Twitch)
paintutils.read(startX,startY,endX,endY,savePath) startX, startY, endX, endY as a number savePath as a string Captures the specified region and saves the picture as a specified .NFP file.
CraftOS Built-in program
capture MyCapture.nfpwould capture the entire screen and save it as MyCapture.nfp