-
Notifications
You must be signed in to change notification settings - Fork 25
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
BMP/ICON detection is failing #20
Comments
From what it looks like sharp is not using IM, but libvips. Is |
Hmm looks like node-vibrant is using shap and sharp is using livbips how different IM and libvips are? |
IM and libvips are two different projects that don't have any dependencies on each other. I think you don't need IM (ImageMagick) in your case. |
@dooman87 looks like that's right, but I found something strange. First I started doing things from a "fresh" state, meaning I first uninstall
After that, I tried just installing
Now it worked 🤔 vips is installing so this hapenned:
so the library needs ImageMagick because it's using a dynamic library vips. Am I right? |
Oh, I'm sorry it looks like It might be using it to read BMP/ICO file. |
I'm curious what happens if on your local you uninstall vips and install Imagemagick then try to run your application. Could it be the case that |
@dooman87 I did that, and in that way, the code is failing
so sharp is providing ready-compiled libvips that is failing 🤔 |
This doesn't look like docker image issue, so closing it for now |
Hello,
When I was creating the Ubuntu image, I noted a strange BMP/ICO behavior, and one of my libraries that work with binaries created by the docker image was not working as expected.
In order to better understand what's happening, I tried to isolate the minimal piece of code to reproduce the error.
I created https://github.com/Kikobeats/ico-issue repo that makes the issue reproducible. Relevant files:
My guess is it's an issue related to something different at the CPU architecture level and how binaries are built, but there is too much thing in that space I'm skipping
Happy if you can take a look to check if something looks wrong to you. The Dockerfile there is a copy/paste of the ubuntu version (because entrypoint is not helping
The text was updated successfully, but these errors were encountered: