Skip to content

Commit

Permalink
Edit readme
Browse files Browse the repository at this point in the history
  • Loading branch information
navidemad committed Aug 1, 2024
1 parent d3e13c4 commit 1274c82
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,12 @@ The default version of ImageMagick installed on Heroku:22/24 dynos (version 7.xx

This [Heroku buildpack](https://devcenter.heroku.com/articles/buildpacks) includes a version of ImageMagick with **HEIF/HEIC/AVIF/WebP support**.

Versions:
- ImageMagick 7.1.1-35
- libde265 1.0.15
- libwebp 1.4.0
- libheif 1.18.1
| Software | Version |
|---------------|-------------|
| ImageMagick | 7.1.1-35 |
| libde265 | 1.0.15 |
| libwebp | 1.4.0 |
| libheif | 1.18.1 |

The binaries in this repository were built using Heroku Docker images with the [**build.sh**](./build.sh) script. The resulting tar files are stored in the `/build` directory and utilized by the [compile script](./bin/compile).

Expand All @@ -32,8 +33,19 @@ It's suggested that you use the latest version of the release buildpack.
To ensure the newer version of ImageMagick is found in the `$PATH` and installed first, make sure this buildpack is added to the top of the buildpack list (index 1).
You can set it using the heroku-cli.

For linux/ubuntu:
```bash
heroku buildpacks:set https://github.com/yespark/heroku-imagemagick-buildpack --index 1 -a your-app-name
curl https://cli-assets.heroku.com/install-ubuntu.sh | sh
```

For mac:
```bash
brew tap heroku/brew && brew install heroku
```

```bash
heroku login
heroku buildpacks:set https://github.com/yespark/heroku-imagemagick-buildpack#rework … --index 1 -a heroku-imagemagick-dummy
```

# Notes
Expand Down

0 comments on commit 1274c82

Please sign in to comment.