KristofferStrube / Blazor.SVGEditor

A basic SVG editor written in Blazor.
https://kristofferstrube.github.io/Blazor.SVGEditor/
MIT License
306 stars 51 forks source link

Annotations on an image #5

Open hashitha opened 2 years ago

hashitha commented 2 years ago

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?

KristofferStrube commented 2 years ago

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.

hashitha commented 2 years ago

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

KristofferStrube commented 2 years ago

Hey @hashitha,

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

Best of lucks with your project.

hashitha commented 2 years ago

No worries and thanks for the great work!