I have an image in my Vue.js component with the following HTML:
<img :src="thumbnail" style="height: 165px; width: 290px; object-fit: cover;">
The image is displayed with the object-fit: cover CSS property. I need to capture and save exactly what is shown on the page (with the cropping effect) as a Blob using JavaScript.
I've searched online for solutions, but I haven't been able to find anything useful.
Any help or examples would be greatly appreciated!