如何在Heroku上使用最新版本的Imagemagick?

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或更高版本?

提前致谢!

以下是使用Cedar-14堆栈在Heroku上至少使用ImageMagick 6.8的潜在选项: https : //github.com/ello/heroku-buildpack-imagemagick-cedar-14

 // 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 -version