Snapshot of canvas

Great Job!
I was wondering if it is possible to take a snapshot with canvas from a content panel (labels, buttons …)? Is there a way for capturing an image from a Form (content_panel)?

self.canvas = Canvas(height=400, spacing_above='none', spacing_below='none') 
self.content_panel.add_component(self.canvas, width='100%')
img = self.canvas.get_image()
self.image_1.source = img