joomla/joomla-framework-image — pull request #1 by christianhent (2013-08-23 20:49:20+00:00)
Title: Create Colorize.php

colorize filter example usage:

hex color code values with and without # sign:

->filter('COLORIZE', array(IMG_FILTER_COLORIZE => '#704214'));
->filter('COLORIZE', array(IMG_FILTER_COLORIZE => '704214'));
->filter('COLORIZE', array(IMG_FILTER_COLORIZE => 'ccc'));

predefined values

->filter('COLORIZE', array(IMG_FILTER_COLORIZE => 'SEPIA'));
->filter('COLORIZE', array(IMG_FILTER_COLORIZE => 'SinopiA'));
->filter('COLORIZE', array(IMG_FILTER_COLORIZE => 'coffee'));