You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ysk2014 Oh, that's why I got those results. Do you know any library that can save an image from HTML elements with filters applied? I really need a solution for this in order to deliver the functionality my app had inside the old Flash based version.
Activity
niklasvh commentedon Dec 26, 2014
css filter's haven't been implemented
moxet commentedon Mar 5, 2015
I am also waiting for filters to be implemented, @niklasvh any idea if we could do it by ourselves? Regards
animista01 commentedon Jul 14, 2015
+1. I'm waiting too
danielfigueroa commentedon Aug 3, 2015
What about this new feature?
jonasmiddendorf commentedon Jun 13, 2016
+1. I'm waiting too
arsen2010 commentedon Jun 14, 2016
Me too, expecting -webkit-filter:blur() work, thank you.
zhiyan commentedon Jan 3, 2017
+1. waiting too
ghost commentedon Jan 31, 2017
+1
benlei commentedon Feb 14, 2017
+1
Revert "Ok so I may have spoken too soon on the download image thing."
kriosguerra3 commentedon Mar 6, 2017
+1
LanderBeeuwsaert commentedon Aug 14, 2017
+1
fernandofc commentedon Aug 24, 2017
+1
alexkostenko commentedon Sep 1, 2017
+1
15 remaining items
istoan commentedon Oct 20, 2020
@ysk2014 I managed to compile the file and the results seem to be the same as with the other html2canvas.js file downloaded from https://github.com/niklasvh/html2canvas/suites/1187063696/artifacts/17429870
This is how it looks inside my HTML page:

This is the results produced with the new html2canvas.js code:

Am I missing something? Are there some special arguments I need to add? Right now I use:
ysk2014 commentedon Oct 21, 2020
@istoan Can you provide the code? It's easy for me to find problems.
istoan commentedon Oct 21, 2020
@ysk2014 An example can be found here:
https://istoan.com/work/html2canvas-filters-test/
And the files for that example are attached
html2canvas-filters-test.zip
ysk2014 commentedon Oct 21, 2020
@istoan Sorry. Filter only supports img at present
istoan commentedon Oct 21, 2020
@ysk2014 Oh, that's why I got those results. Do you know any library that can save an image from HTML elements with filters applied? I really need a solution for this in order to deliver the functionality my app had inside the old Flash based version.
ysk2014 commentedon Oct 21, 2020
@istoan You can try dom-to-image. In fact, html2canvas can also be implemented, but the compatibility is not good
istoan commentedon Oct 21, 2020
@ysk2014 Thank you very much! dom-to-image works as it should. You are a life saver!
Ronkiro commentedon Dec 22, 2022
Any updates to this? dom-to-image is sadly not working well in my case. Html2canvas does everything correctly, the only problem is the filter
Jashan66 commentedon Jan 13, 2023
+1
AugustinMortier commentedon Feb 13, 2023
I would also appreciate very much this feature :)
vini-rossi commentedon Apr 27, 2023
+1
hkanizawa commentedon Nov 16, 2023
+1
Ronkiro commentedon Nov 17, 2023
For people looking for a solution that doesn't uses dom-to-image, i managed to make what i wanted by using Jimp.
See jimp-dev/jimp#1194
FranH20 commentedon Dec 18, 2023
I have the same problem, the filter brightness() dosen't work.