_color_render_images($theme, &$info, &$paths, $palette)
Renders images that match a given palette.
File
core/modules/color/color.module, line 593 Allows users to change the color scheme of themes.
Code
function _color_render_images($theme, &$info, &$paths, $palette) {
// Prepare template image.
$source = $paths['source'] . '/' . $info['base_image'];
$source = imagecreatefrompng($source);
$width = imagesx($source);
$height = imagesy($source);
// Prepare target buff