-
-
Notifications
You must be signed in to change notification settings - Fork 698
Error: magick.c:229: GetImageMagick: Assertion `magick != (const unsigned char *) NULL' failed. #1705
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
Comments
libvips won't be calling it if it hasn't been detected, so I think some other part of your system must be trying to use imagemagick to detect file types. |
@jcupitt I noticed that I had this installed |
@igorescobar If you're using ImageMagick v7 then #1642 fixes this problem if you're passing zero-length Buffer or Stream instances to sharp's constructor. |
I tried to remove libmagick and libmagickwand completely but then |
@jcupitt I just noticed that you have this on v8.9.2: Would that be the reason why |
I doubt it, but you'd need to post code demonstrating the problem before I could check. |
@igorescobar This is the libvips repo. Please open a new issue on the sharp repo if you have questions about sharp, making sure you provide complete answers to all of the questions the relevant issue template asks. https://github.com/lovell/sharp/issues/new/choose |
Hey guys, Sorry about the confusion I never know if the issue is from sharp or libvips. I removed a few more dependencies from my build, also replaced libexif-gtk-dev by libexif-dev and the issue with the rotation seems to be gone now. I will deploy it soon and will let you know if the error in question also disappeared. |
Yeah, Removing libmagic solved the issue for now. Let's see what happens when that sweet animated gifs support gets released and I have to add it back again 😅 Thanks a bunch, guys! 👋 |
Hey guys,
I recently moved away from the libvips that comes with sharp by default and I started to see these errors on my logs:
I stumbled on some issues regarding libmagick (which I do not have installed):
Is this error expected? The right way to fix it is by setting
./configure --without-magick
flag?The text was updated successfully, but these errors were encountered: