g.js — graphical objects for JavaScript

crossEdgescrossEdges

Apply a cross edges filter to an image.

var i = g.import('butterfly.jpg');
g.crossEdges(i, 60);

Parameters

  • image: The input image.
  • strength: The amount of filtering to apply.