zenorocha/alfred-workflows

Colors workflow not working under Yosemite

cdl opened this issue · 0 comments

cdl commented

Trying to use the Colors workflow fails under Yosemite. Whenever the workflow is triggered (entering in a color value), the below error is logged.

[ERROR: alfred.workflow.input.scriptfilter] Code 255: Fatal error: Call to undefined function imagecreatefrompng() in /Users/px/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows/user.workflow.DA181C03-9532-4627-89F5-5A5BB9847FA1/colors.php on line 123

Looks like it might be because the Yosemite packaged version of PHP doesn't come with PNG support. (Below is a screenshot of the output of recursively printing gd_info() – see that PNG support is disabled.)

Screenshot of gd_info recursion print