Question : Render Widget to Image #1499
Labels
enhancement
adds or requests a new feature
question
causes uncertainty
shell
concerns the shell abstraction
Milestone
Hi thank's for this great library, is it currently possible to render a druid widget to an image? I understand it is possible to do this something like this in piet :
Also, I know I can access
ctx.render_ctx
in the paint method of the widget but didn't help much.Piet is too low level for my use case (mainly generating images from a layout composed of Columns and Rows and passing them to a video pipeline (gstreamer or ffmpeg)) and I was wondering if I could do this with Druid, without the gtk application shell.
I see you did something similar with the Harness struct in tests but it is not exposed.
The text was updated successfully, but these errors were encountered: