Blazor.SVGEditor icon indicating copy to clipboard operation
Blazor.SVGEditor copied to clipboard

Annotations on an image

Open hashitha opened this issue 3 years ago • 4 comments

I have a need to annotate an image and I was thinking that this project would be a great start.

is it possible to add an image and then make the drawings on top of that image?

hashitha avatar Jan 03 '22 08:01 hashitha

Hey @hashitha, :)

The project does not currently support the SVG Image tag so you would have to fork my project and add support for that to do so. Apart from that I imagine that you would want to limit the capabilities of the interactions like disabling some of the context menu options. It is totally possible, but I imagine that it might be easier to make this from scratch with inspiration from my project.

It is possible to extend the project to some degree without changing my code by creating a new Razor Component that extend Shape and adding that to the list of SupportedTypes. But I have not yet added support for changing or extending the context menu so for this you would still need to change my code.

If your are looking for a more simple free-hand drawing tool that you can draw inspiration from then I can point you to my other project: https://github.com/KristofferStrube/DistributedDrawing

I am thinking of adding support for the Image tag in the future, but I can't say when. This would be cool in order to do things like tracing of images or similar.

KristofferStrube avatar Jan 03 '22 18:01 KristofferStrube

Thanks @KristofferStrube. Are you available for hire for an interesting project? I think you have done most of the work here :)

hashitha avatar Jan 04 '22 01:01 hashitha

Hey @hashitha,

I'm currently not available for hire due to other commitments, but maybe in the future.

Best of lucks with your project.

KristofferStrube avatar Jan 04 '22 02:01 KristofferStrube

No worries and thanks for the great work!

hashitha avatar Jan 04 '22 02:01 hashitha