如何在 Heroku 上使用最新版本的 Imagemagick? [英] How can I use the latest version of Imagemagick on Heroku?
问题描述
Heroku Cedar-14 堆栈当前运行的 ImageMagick (6.7.7-10) 版本已经有将近一年的历史了:
Heroku Cedar-14 stack currently runs a version of ImageMagick (6.7.7-10) that is nearly a year old:
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 中引入的.
I want to use the -canny
option that performs edge detection in an image, but this was only introduced in a later version of ImageMagick.
Heroku 上唯一可用的 ImageMagick 构建包不适用于 Cedar-14 堆栈:https://github.com/mcollina/heroku-buildpack-imagemagick
The only available buildpack for ImageMagick on Heroku does not work on the Cedar-14 stack: https://github.com/mcollina/heroku-buildpack-imagemagick
有没有办法在 Heroku 上使用 ImageMagick v6.8.9-0 或更高版本?
Is there a way I can use ImageMagick v6.8.9-0 or later on Heroku?
提前致谢!
推荐答案
以下是在 Heroku 上至少使用 ImageMagick 6.8 和 Cedar-14 堆栈的潜在选项:https://github.com/ello/heroku-buildpack-imagemagick-cedar-14
Here is a potential option for using at least ImageMagick 6.8 on Heroku with the Cedar-14 stack: https://github.com/ello/heroku-buildpack-imagemagick-cedar-14
这篇关于如何在 Heroku 上使用最新版本的 Imagemagick?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!