Heroku Cedar-14堆栈目前运行的ImageMagick版本(6.7.7-10)已有近一年的历史:
Running `identify -version` attached to terminal... up, run.8227
Version: ImageMagick 6.7.7-10 2014-03-06 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2012 ImageMagick Studio LLC
Features: OpenMP我想使用在图像中执行边缘检测的-canny选项,但这只是在较新版本的ImageMagick中引入的。
Heroku上唯一可用的ImageMagick构建包不能在Cedar-14堆栈上工作:https://github.com/mcollina/heroku-buildpack-imagemagick
有没有办法在Heroku上使用ImageMagick v6.8.9-0或更高版本?
提前感谢!
发布于 2015-04-13 21:26:21
以下是在Heroku上使用至少ImageMagick 6.8和Cedar-14堆栈的一个潜在选择:https://github.com/ello/heroku-buildpack-imagemagick-cedar-14
发布于 2016-04-23 20:47:41
// check image magick version
heroku run identify -version
heroku config:add IMAGE_MAGICK_VERSION="6.9.3-8"
// if you set buildpacks then your original buildpacks lost
heroku buildpacks:add --index 1 https://github.com/ello/heroku-buildpack-imagemagick.git
// commit
git push heroku master
heroku run identify -versionhttps://stackoverflow.com/questions/28423201
复制相似问题