This buildpack started out as one of the many that are out there, and ended up being completely different. The build script uses docker, includes pdf support via poppler, and adds support for HEIC images from Apple devices. In order to use this buildpack, you must install these packages in your heroku application:
The easiest way to do this is using the heroku apt buildpack and copy those four lines into an Aptfile.
This buildpack was put together with the help of John Cupitt, the creator of libvips. He was invaluable in my efforts to get a working libvips installation with pdf support on heroku. Thank you John!
Heroku buildpack with libvips installed.
Add this buildpack to your app:
This is the script used to build vips using docker.
After building a tar file, it will be copied to the
build directory. Then you should commit this changes to git.
Copy the snippet above into CLI.