Closed Jawell closed 2 years ago
Please provide a sample image that generates this error.
Hi @lovell ! I used this images:
Archive of this images: Images.zip
These images appear to be valid so I'm unsure what's happening here. Is there a reason you need to use the brew-installed vips
package rather than the prebuilt binaries provided by sharp? Perhaps run brew update && brew upgrade
to ensure you're using the latest version of everything.
Thank you. I tried to use sharp
with prebuild vips
by deleting vips
in brew, but this didn't work (of course with reinstalling sharp
in project). Now, I decide to delete all my brew packages, not only vips because I don't have necessary packages. It's work, and it doesn't matter to me which package (prebuild or global) to use. I don't no what is the problem of brew vips
So, what was the fix, guys?
Question about an existing feature
What are you trying to achieve?
Using sharp But I get this error:
Error: Input buffer has corrupt header: magickload_buffer: Magick: improper image header `' @ error/tga.c/ReadTGAImage/219 (null)
libvips installed globally by brew, but I tried to use from sharp
When you searched for similar issues, what did you find that might be related?
Nothing
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this question