Skip to content

q-m/heroku-buildpack-imagemagick

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 

Repository files navigation

heroku-buildpack-imagemagick

heroku buildpack

This is a Heroku buildpack for vendoring the ImageMagick binaries into your project.

This one works with Heroku stack heroku-18 and will always give you the latest 6.x version.

Install

In your project root:

heroku buildpacks:add https://github.com/q-m/heroku-buildpack-imagemagick --index 1 --app HEROKU_APP_NAME

"index 1" means that imagemagick will be installed first.

Changing version

Go to https://www.imagemagick.org/download/releases and find a version you want (*.tar.gz). You can set the environment variable IMAGE_MAGICK_VERSION to the desired version (e.g. 6.9.10-59). Clear cache, as shown below, and redeploy your app to Heroku.

By default, the bin/compile script will look for the latest 6.x version from the releases page.

Clear cache

Since the installation is cached you might want to clean it out due to config changes.

  1. heroku plugins:install heroku-repo
  2. heroku repo:purge_cache -app HEROKU_APP_NAME

About

ImageMagick 6 for Heroku, always the latest version

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%