Open techslides opened 10 years ago
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.
Confirmed. These two are useless.
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.