-
-
Notifications
You must be signed in to change notification settings - Fork 72
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
Can't save GIFs - gifsave_buffer not found #13
Comments
Gifs work for me, perhaps the usage differs. Here's mine:
This basically creates an animated webp out of a gif (I have not tried gif to gif however) |
Yeah, it seems the same aside from the output. We are wanting to keep the same file type at the moment so in our instance it is trying to save as a GIF. I have tried both animated GIFs and a static GIF too with my code and I'm getting the same error. I have a fork of this repo and currently have a build running where I've bumped SharpJS to see if that fixes anything. |
Sadly that didn't work, still getting the same error when saving as gif. I have also tried bumping the libvips version at the top of the Makefile to, what appears to be their latest version, 8.13.1 and sadly still nothing. |
In that case I'd suggest to try your pipeline with the vanilla SharpJS version to check if it works there and if not open an issue with them. |
Yeah, looks like that will be my next step. @xtrinch are you able to confirm if your build works if you do change the output format to gif? |
Are you sure you're not installing sharp from npm separately? (i.e. double check that sharp is not in your package.json dependency). Gif output should work out of the box with prebuilt binaries too, and your error sounds like there's a mismatch in vips version for sharp (each sharp release needs a specific vips version) |
Hey, with the latest updates it appears that we can no longer save gif file types.
I'm getting the following error when I try to perform actions and save a gif image.
{ "errorType": "Error", "errorMessage": "VipsOperation: class \"gifsave_buffer\" not found\n", "trace": [ "Error: VipsOperation: class \"gifsave_buffer\" not found", "" ] }
I'm fairly sure this has occurred with the latest V3.0.0 release. I went back to an old version of the layer in AWS that was created using the 2.0.2release and GIFs are working again but HEIC/HEIF files are broken and don't save due to the version of SharpJS in use, so rolling back isn't an option.
This is our implementation of Sharp at the moment, I've simplified this somewhat however as we have a ton of different calculations in place for different file types and such
Appreciate this may be SharpJS issue rather than an issue with the layer, however given this layer is the one loading in the packages for the different libs, I assumed it may be an issue here rather than Sharp itself.
The text was updated successfully, but these errors were encountered: