lumeland / lume

🔥 Static site generator for Deno 🦕
https://lume.land
MIT License
1.88k stars 86 forks source link

Transform Images plugin: Output images cannot be animated #671

Closed akimon658 closed 2 weeks ago

akimon658 commented 2 weeks ago

Version

2.3.2

Platform

macOS

What steps will reproduce the bug?

Convert animated images using the Transform Images plugin. Note that you need to add .gif extension to convert GIFs.

site.use(transformImages({
  extensions: [".jpg", ".jpeg", ".png", ".webp", ".gif"],
}))

How often does it reproduce? Is there a required condition?

Always

What is the expected behavior?

Output images should be animated as well.

What do you see instead?

Generated files are not animated, no matter what format they are.

Additional information

No response

oscarotero commented 2 weeks ago

Thanks! I just fixed it and will be available in the next version. Meanwhile, you can upgrade to the latest development version (deno task lume upgrade --dev).