Skip to content

Instantly share code, notes, and snippets.

@Ephigenia
Created October 18, 2011 12:03
Show Gist options
  • Select an option

  • Save Ephigenia/1295272 to your computer and use it in GitHub Desktop.

Select an option

Save Ephigenia/1295272 to your computer and use it in GitHub Desktop.
php-convolution-filter-sharpen
<?php
// angenommen $h ist das image-handle
$m = array(
array(-1, -1, -1),
array(-1, 16, -1),
array(-1, -1, -1)
);
imageconvolution($h, $m, 8, 0);
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment