Need to get image format as of gradio ImageEditor in the format
{ 'background': <PIL.Image.Image image mode=RGBA size=768x1024 at 0x7FE8A97D9D80>, 'layers': [<PIL.Image.Image image mode=RGBA size=768x1024 at 0x7FE8A97D8A90>], 'composite': <PIL.Image.Image image mode=RGBA size=768x1024 at 0x7FE8A97D8C40>}.
All the programs I have tried are not exactly giving the image format similar to that of gradio Imageeditor image format.
Tried with several example available on net. It is not exactly giving the output similar to that of Gradio Imageeditor format.
Please help to extract the program from Gradio Imageeditor has a standalone, so that I can reuse in my system.