-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Error on resizing animated gif #245
Comments
Hi Lewis, I guess you discovered that GIF output is unsupported. (For animated GIF input, only the first frame is used.) |
I used 'gm' lib before which could resize animated gif。But 'gm' depends on 'imagemagic' that is so big and very difficult to be installed on my server. |
Are animated GIFs still unsupported by Sharp? |
@zilions GIF output is unsupported. |
this isn't very well documented anywhere |
@prmichaelsen PRs to update docs are always welcome. |
I'd recommend using gifsicle for resizing gifs, especially animated ones. I've found that GraphicsMagick and ImageMagick both screw up certain exotic features. (I'm basing that on having run an internal image r'n'r service used by 400.000 users where arbitrary user-uploaded images are processed.) There's a node.js stream wrapper for gifsicle here: https://www.npmjs.com/package/gifsicle-stream |
@lovell Libvips seems to have GIF support now. Can it work with sharp? libvips/libvips#1167 |
@adityapatadia Please see #1372 |
I got the error
Unsupported ouput __input
while I was trying to resize an animated gif via this code.P/s. I've just installed sharp yesterday
The text was updated successfully, but these errors were encountered: