use canvas for grayscale - Vanilla JS
JavaScript use canvas for grayscale
Mit JavaScript farbige Bilder in Graustufen umwandeln, durch setzen von class="grayscale" im img-Tag.
On using this JavaScripts all images with class "grayscale" get converted to grayscaled images.
Example:
JavaScript:
 grayscale.js 
HTML:
 grayscale.htm