This is a Heroku Buildpack for vendoring the ImageMagick binaries into your project.
This Buildpack is using ImageMagick v7.1.1-27 and compatible with heroku-22
stack.
heroku buildpacks:add https://github.com/OneBacklog/heroku-buildpack-imagemagick --index 1 --app HEROKU_APP_NAME
"index 1" means that ImageMagick will be installed first.
- Go to your Heroku App's [Settings]
- Scroll to [Buildpacks] and click [Add Buildpack]
- Enter
https://github.com/OneBacklog/heroku-buildpack-imagemagick
- Adjust the order so this Buildpack is placed first
- Go to https://www.imagemagick.org/download/releases and find a version you want (*.tar.gz).
- Edit the
bin/compile
file and change out the version number. - Clear cache as shown below and redeploy your app.
Since the installation is cached you might want to clean it out due to config changes.
heroku plugins:install heroku-repo
heroku repo:purge_cache -app HEROKU_APP_NAME