jQuery.BlackAndWhite icon indicating copy to clipboard operation
jQuery.BlackAndWhite copied to clipboard

Clientside grayscale images on any browser

Results 8 jQuery.BlackAndWhite issues
Sort by recently updated
recently updated
newest added

`blackandwhite.min.js:1 Uncaught TypeError: Cannot read property 'complete' of undefined at A (blackandwhite.min.js:1) at HTMLImageElement. (blackandwhite.min.js:1) at Function.each (jquery.js:4) at init.each (jquery.js:4) at E (blackandwhite.min.js:1) at init.BlackAndWhite (blackandwhite.min.js:1) at HTMLDocument. (:40:25)...

This plugin uses jQuery 1.8.1, but when I ipdate to jQuery 3.2.1 it gives an error in jQuery: TypeError: a.indexOf is not a function. Switching back to the old jQuery...

jQuery 3.0 removed the event `.load()` method. Replacing it with `.trigger('load')` allows the script to continue functioning.

```this.onmessage = function (event) { var imagedata = event.data.imgData, intensity = event.data.intensity, px = imagedata.data, // The line throwing the error. Could you help address this? grey = null, length...

Hello, What is `webworkerPath` and how to use it ? Thanx

In case the wrapper has no image tag, it was generating error and halting the rest of execution, with this patch it will by pass such blank wrapper.

Hi Gianluca, Is it possible to set the brightness of the bw image? Sometimes bw images could look nicer if they are brighter. Kind regards, Tomaz