h2non / imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing
https://fly.io/docs/app-guides/run-a-global-image-service/
MIT License
5.58k stars 456 forks source link

Not able to process GIF images #289

Open DevGirisankar opened 4 years ago

DevGirisankar commented 4 years ago

Showing error {"message":"Error while processing the image: VIPS cannot save to \"gif\"","code":1} Please help.

h2non commented 4 years ago

Please, make sure libvips is properly compiled against libgif bindings. The built-in Docker image provided should be good with GIFs.

kotx commented 3 years ago

I have the same problem using the latest Docker image as well as with 1.1.1. Dockerfile:

FROM h2non/imaginary:latest
ENV PORT "8080"
CMD ["-enable-url-source","-http-read-timeout" ,"3"]

Edit: dug a bit more and saving to gifs is not supported.