-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exploration of alternatives to imagemagick-native #16
Comments
Appears this is being discussed in many places, a suggestion here for a (temporary?) fix... |
Looks like a good short term solution until it's fully patched up. Will test and update. |
So this introduces all sorts of issues... not a simple drop in I'm afraid. |
I've implemented a gd based solution that drops our native requirements down to a single easily installed one (no more hunting down versions of libcairo). The GD library is quite a bit simpler and works across all the node versions I've tested so far, including the current LTS release. I've wrapped it in a promise based interface so the code looks something like this(taken from a test):
You can play with this on the We can either simply replace image-magick, which would be disruptive and force all clients to have to update, or we could also implement a new URL scheme which I'll detail in a new issue |
@dark12222000 I went with lwip in the end, but keeping your GD work around for future reference. May thanks! Closed by aae39e5 |
Explore the potential for replacing imagemagick-native with gd or gmic to reduce dependencies, improve compatibility and improve performance.
imagemagick-native is currently not compatible with recent releases of Node, which is less than ideal.
The text was updated successfully, but these errors were encountered: