Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Save images after using CSS filter

I'm building a new website that will let users apply filters to images (just like Instagram). I will use -webkit-filter for that.

The user must be able to save the filtered image. There is any way I can do that using JavaScript?

like image 439
Hugo Bessa Avatar asked Sep 13 '25 20:09

Hugo Bessa


1 Answers

You can't save images directly, but you can render them in Canvas, then save from there.

See: Save HTML5 canvas with images as an image

like image 151
Diodeus - James MacFarlane Avatar answered Sep 16 '25 11:09

Diodeus - James MacFarlane