{"size": 647, "ext": "js", "max_stars_repo_path": "src/dither.js", "max_stars_repo_name": "grafijs/grafi-dither", "max_stars_repo_stars_event_min_datetime": "2016-04-26T12:20:37.000Z", "max_stars_repo_stars_event_max_datetime": "2016-04-26T12:20:37.000Z", "max_issues_repo_path": "src/dither.js", "max_issues_repo_name": "grafijs/grafi-dither", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/dither.js", "max_forks_repo_name": "grafijs/grafi-dither", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 25.88, "max_line_length": 86, "alphanum_fraction": 0.6924265842}
/**
  ## dither method
  Brief description

  ### Parameters
    - imageData `Object`: ImageData object
    - option `Object` : Option object

  ### Example
      //code sample goes here
 */
function dither (imgData, option) {
  // Your code here :) !
  // What is this `export default` thing?
  // grafi uses rollup (ES6 module bundler) to build distribution file
  // see https://developer.mozilla.org/docs/Web/JavaScript/Reference/Statements/export
  // for more about export



  // every return from grafi methods are ImageData,
  // internal function `formatter()` will take care of this
  return formatter(_pixelData_, _width_, _height_)
}
