Save JPG Files with Draw

hello, I wanted to test modifying jpg or png image files from Draw.
I modified the discovery.xml file to put edit on these extensions, but I can’t save, whereas when I open a DOC document it works.
Any idea what I should change on my Docker?