mcollina / heroku-buildpack-imagemagick Goto Github PK
View Code? Open in Web Editor NEWAn heroku buildpack with the latest version of ImageMagick
An heroku buildpack with the latest version of ImageMagick
If I push using git push heroku master
I get
-----> Fetching custom git buildpack... done
-----> Multipack app detected
=====> Downloading Buildpack: https://github.com/mcollina/heroku-buildpack-imagemagick.git
=====> Detected Framework:
-----> Installing libpng 1.5.14
Download completed
Installation completed
-----> Installing imagemagick 6.8.2-3
Download completed
Installation completed
-----> Building runtime environment for imagemagick
=====> Downloading Buildpack: https://github.com/heroku/heroku-buildpack-python.git
=====> Detected Framework: Python
-----> Installing dependencies with pip
Cleaning up...
Using release configuration from last framework (Python).
-----> Discovering process types
Procfile declares types -> web
-----> Compressing... done, 35.1MB
But if I run heroku run bash
directly afterwards...
~ $ convert -version
Version: ImageMagick 6.5.7-8 2012-08-17 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2009 ImageMagick Studio LLC
Features: OpenMP
It seems like the buildpack isn't actually applying anything. My .buildpack
looks like
https://github.com/mcollina/heroku-buildpack-graphicsmagick.git
https://github.com/heroku/heroku-buildpack-python.git
i noticed that the graphicsmagick buildpack is more up to date than this package. why not just combined these two buildpacks into a single buildpack that has both packages and other packages like libpng and zlib? the overhead wouldn't be much, and it'll be easier to maintain.
another option is just to have one be the fork of the other.
https://github.com/mcollina/heroku-buildpack-graphicsmagick uses a better way of building and packaging libpng and zlib.
it does not work the build packs show in the vendor and bin lib but calling an imagemagick method keeps failing and it works locally...
When I try pushing my app up after the changes required I get the error above, any ideas on what's causing this?
When I run convert on some images I get this error:
convert: UnableToOpenConfigureFile `colors.xml' @ warning/configure.c/GetConfigureOptions/616.
Any config file missing?
It seems like this breaks on the new cedar-14 stack. Has anyone gotten it working successfully there?
.buildpacks file
https://github.com/nrj/heroku-buildpack-imagemagick-webp
https://github.com/heroku/heroku-buildpack-ruby
When push to heroku its show the following error:
remote: -----> Downloading ImageMagick from http://www.imagemagick.org/download/releases/ImageMagick-6.9.1-1.tar.gz
remote:
remote: gzip: stdin: not in gzip format
remote: tar: Child returned status 1
remote: tar: Error is not recoverable: exiting now
remote: -----> Building ImageMagick
remote: /tmp/buildpack5SUBD/bin/compile: 79: cd: can't cd to ImageMagick-6.9.1-1
remote: /tmp/buildpack5SUBD/bin/compile: 82: /tmp/buildpack5SUBD/bin/compile: ./configure: not found
remote: make: *** No targets specified and no makefile found. Stop.
remote: -----> Caching ImageMagick and libwebp installation
remote: -----> Updating environment variables
I am getting the following error when using the build pack on heroku
convert: error while loading shared libraries: liblcms.so.1: cannot open shared object file: No such file or directory
I am using imagemagick-stream and it looks like the buildpack is installed correctly.
Here is my .buildpacks
:
https://github.com/stomita/heroku-buildpack-phantomjs
https://github.com/mcollina/heroku-buildpack-imagemagick
https://github.com/heroku/heroku-buildpack-nodejs
Extract from heroku output:
remote:
remote: -----> Fetching custom git buildpack... done
remote: -----> Multipack app detected
remote: =====> Downloading Buildpack: https://github.com/stomita/heroku-buildpack-phantomjs
remote: =====> Detected Framework: PhantomJS
remote: -----> Extracting PhantomJS 1.9.8 binaries to /tmp/build_8cdde3b6af3afe15b6f011c6c39402fe/vendor/phantomjs
remote: -----> exporting PATH and LIBRARY_PATH
remote: =====> Downloading Buildpack: https://github.com/mcollina/heroku-buildpack-imagemagick
remote: =====> Detected Framework:
remote: -----> Installing libpng 1.5.14
remote: Download completed
remote: Installation completed
remote: -----> Installing imagemagick 6.8.2-3
remote: Download completed
remote: Installation completed
remote: -----> Building runtime environment for imagemagick
i guess the server you're downloading from has changed its directory structure.
Imagemagick's base svg -> image conversion is terrible, doesn't implement most of the svg standard, there is a library called librsvg but the dependencies are a bit hairy.
I will try to see what I can do to make this compatible with the existing buildpack, but I'm new to creating buildpacks, so whatever guidance you might have would be amazing!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.