You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#Create a black imageimg=Image.new("RGB", (512, 512), (0, 0, 0))
img.save("image.png", "PNG")
#Pre-load the black image in the componentgr.Image(value="image.png", interactive=True, tool="color-sketch")
And given that the source="canvas" can only initialize with a white canvas, I'm currently failing to see any way to initialise a color-sketch with a black image to be drawn on top
Describe the bug
Running the following code
Crashes the UI

Reproduction
Here's a colab with an example: https://colab.research.google.com/drive/1Gp5pp51P14B0tM331dS7476-Oqe-Bi04
System Info
Severity
serious, but I can work around it
The text was updated successfully, but these errors were encountered: