Two function to use the paint.py output, the function decode takes the tuple with the encoded drawing and gives you a decoded drawing, the second one takes the position at which you want to draw it, the color, in option the upscaling, the decoded drawing and draws it.