Consider the given HTML setup:
<div id="image-blob" class="filter-wrapper">
<img id="pic" src="">
</div>
I have applied CSS3 filters like
-webkit-filter: blur(1px) brightness(1.5) contrast(1.8) drop-shadow(black 16px 16px 20px) grayscale(0.2) hue-rotate(90deg) invert(0.1) saturate(3.6) sepia(0.3);
to the <img>
element.
My query is whether it is feasible to convert this modified image with filters into a downloadable blob without any involvement of server-side processing or proxy?
Please note: The client-side downloading process utilizes FileSaver.js, and potential conversion to canvas can be achieved using HTML2Canvas.
Edit:
Upon further investigation, it seems that achieving this may not be possible (although I welcome any insights proving otherwise). Another solution could involve replicating these filters through JavaScript directly within the canvas. You may refer to the Pixel Manipulation Tutorial or opt for a reliable library like CamanJS.