Skip to content

feat(animated gif): add Animated Gif widget#422

Open
randomboi404 wants to merge 11 commits intoignis-sh:mainfrom
randomboi404:patch-4
Open

feat(animated gif): add Animated Gif widget#422
randomboi404 wants to merge 11 commits intoignis-sh:mainfrom
randomboi404:patch-4

Conversation

@randomboi404
Copy link
Copy Markdown

Added animated gif support.

output.mp4

Copy link
Copy Markdown
Member

@linkfrg linkfrg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the doc page for this widget in docs/api/widgets

Comment thread ignis/widgets/animated_gif Outdated
Comment thread ignis/widgets/animated_gif Outdated
Comment thread ignis/widgets/animated_gif Outdated
Comment thread ignis/widgets/animated_gif Outdated
@randomboi404
Copy link
Copy Markdown
Author

Also, imma add docs too and fix those issues.

@randomboi404
Copy link
Copy Markdown
Author

Done! Also, I've set interpolation type as BILINEAR only.

Comment thread ignis/widgets/animated_gif.py Outdated
Comment thread ignis/widgets/animated_gif.py Outdated
Comment thread ignis/widgets/animated_gif.py Outdated
@randomboi404
Copy link
Copy Markdown
Author

I think it's all done!!

@randomboi404
Copy link
Copy Markdown
Author

Fixed!

@randomboi404
Copy link
Copy Markdown
Author

Hello? @linkfrg

@linkfrg
Copy link
Copy Markdown
Member

linkfrg commented Oct 8, 2025

Sorry for not being here for a while, I have been a bit busy with school lately.
I did some general fixes in the latest two commits but there is one issue left. Looks like loop property as itself doesn't have any effect, only setting duration_ms to 0 actually loops the animation. We should either fix loop or remove it completely in favor of duration_ms=0

Removed looping functionality from the animated GIF widget.
@randomboi404
Copy link
Copy Markdown
Author

Hey, @linkfrg

It's been a while. I was busy due to heavy irl work and hence I almost forgot about this. But yup, I am back and I made a commit which removes the loop property completely as duration_ms=0 handles it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants