How to draw the cropped bounding box after cropping? #322
AlbertLiu1974
started this conversation in
General
Replies: 1 comment 3 replies
-
Hi @AlbertLiu1974. Unfortunately, Cropper.Blazor library don't support drawing functionality. But, If you want to draw images in Blazor, you should to use canvas javascript functionality for that. You can try to use ready library for working with canvas in blazor: https://github.com/BlazorExtensions/Canvas. Definitely, you can another more advanced libraries if it requires or call drawing functions from canvas object reference. You can get canvas element from cropped image using following example: https://cropperblazor.github.io/examples/cropping#advanced-usage Example code:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I want to record the bounding box and draw a red rectangle to save it for review purpose. Kindly refer to the image.
Not sure how to do it in blazor. Kindly help. I am using .net 8.1
Br, Albert
Beta Was this translation helpful? Give feedback.
All reactions