HI,
I am sure this is a basic question..
i want the simplest way to save the puzzle generated on the console to be saved as an image.
I tried reading through ImageContext, Image, ctx etc but failed to understand.
Please help..
For eg. let's say i want to save this display as an image..
# save display
import ui
w,h = ui.get_screen_size()
view = ui.View(name = 'Grid', bg_color=1)
view.add_subview(ui.View(name='left', frame=(0,0,w/3,h/5), bg_color='blue'))
view.add_subview(ui.View(name='right', frame=(w*2/3,0,w/3,h/5), bg_color='red'))
view.present('sheet')