Image Editor Plugin (Need help and code contributions)

I enjoy doodling and taking notes using Obsidian, often using plugins like Excalidraw and Ink, which I find fantastic. However, when it comes to doodling on snapshots of notes, I typically use Photopea. I’ve been considering creating a plugin that allows me to doodle directly within Obsidian and save the images seamlessly. While I’ve made an attempt to implement this plugin myself, it’s currently quite buggy and my previous attempts to seek assistance from ChatGPT was limited. The plugin works on a basic level but I believe it has the potential to be much more than this. I would greatly appreciate any contributions from the community to help build and improve this plugin.

Untitled

Here is the repository link for the current implementation: Image Editor Plugin for Obsidian.

Your contributions and code suggestions are highly appreciated.