Closed mclowe-directnic closed 9 years ago
Currently the GD library is missing in Yosemite. Thats why the imagepng(...) function is not available. After I updated to Yosemite my brew installation was messed up. I reinstalled brew, added a newer version of python, php56, livestreamer, etc..
To get the graphics library back working just install: brew install gd It will compile/install the different libraries including libpng and the function should be available again.
If you have issues with brew under Yosemite, just install Xcode 6.1 (currently only available in the apple developer center, will be also available on the appstore soon.)
greetings
Hello! Yea, as moguai2k mentioned, your Homebrew and probably all its dependencies (like XCode) are outdated.
With updating to Yosemite it installed Ruby 2.0 itself and sadly removed Ruby 1.80. Your current Homebrew is only supported to Ruby 1.80.
You can fix this by updating Homebrew: http://jcvangent.com/fixing-homebrew-os-x-10-10-yosemite/ Or simplify by reinstalling Homebrew via their ruby install link under: http://brew.sh/
Then you have to find out if there are some "dependencies" are not up2date by "brew doctor". Update and install at last the missing library: brew install GD.
If you wont update that stuff and you don't care about game covers, you can change following line in "twtop"-script-filter and "tw"-script-filter in TwitchStreamer workflow in Alfred: FROM: $icon = checkCover( $sele['game'] ); TO: //$icon = checkCover( $sele['game'] ); Just comment it out and it should work also.
HTH greetings
After a while I came back to this issue and created version 1.6 which doesn't use GD library. It creates JPG files instead of PNG.
This is not and an upgrade. If you could build the new homebrew and so make v1.52 work, so you dont't have to change to 1.6. Otherwise 1.6 should run in any way.
After upgrading to Yosemite, there seems to be a problem with this workflow.
It seems that the function imagepng in search.php (line 221) is undefined after the upgrade. Skipping this call and making the function resizeImageAndConvertToPNG return true at the very beginning seems to have fixed the workflow for me.