Hi @ssi_karim,
This is an interesting issue
What first comes to my mind is to save the image in another thread to offload work without blocking the rendering loop.
I found previous threads about this but I don’t know if it really solves it:
(how-to-save-an-image-in-a-new-thread)
Also the documentation on thread()
: