You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can explicitly mark an asset as a video with the video function: manganis::mg!(video("assets/animated.webp"))
manganis should try to detect videos automatically from the content. It looks like the image crate has some limited support for frames. If you are interested in working on this, we could skip re-encoding the image if it has more than one frame.
Problem
When manganis optimizes an animated webp/avif/gif file, it appears to strip the animation to a static image.
Steps To Reproduce
Steps to reproduce the behavior:
const IMG: &str = manganis::mg!("assets/animated.webp");
Expected behavior
The image should be animated.
Environment:
0.3.0-alpha.1
rustc 1.80.1
]web
,fullstack
]Questionnaire
The text was updated successfully, but these errors were encountered: