ipysketch_lite package#
Module contents#
- class ipysketch_lite.Sketch(**kwargs: Any)#
Bases:
AnyWidget
Sketch class to create a sketch instance This includes a template that allows for basic drawing utilities Sketch image data is stored as a base64 encoded string
- property data: str#
Get the sketch image data as a base64 encoded string
- get_output() str #
- get_output_image()#
- get_template() str #
Get the sketch html template with metadata replaced
- property image#
Get the sketch image data as a PIL image
- metadata: dict#
- save(fp, file_format=None) None #
Save the sketch image data to a file