CamanJS icon indicating copy to clipboard operation
CamanJS copied to clipboard

EdgeEnhance and EdgeDetect just turn the image black

Open techslides opened this issue 11 years ago • 1 comments

Has anyone had any luck with these two filters:

Caman.Filter.register("edgeEnhance", function() { return this.processKernel("Edge Enhance", [0, 0, 0, -1, 1, 0, 0, 0, 0]); });

Caman.Filter.register("edgeDetect", function() { return this.processKernel("Edge Detect", [-1, -1, -1, -1, 8, -1, -1, -1, -1]); });

They just turn any image I try completely black. On the other hand, emboss and all other filters work fine.

techslides avatar Mar 26 '14 17:03 techslides

Confirmed. These two are useless.

av01d avatar Dec 12 '18 15:12 av01d