Image animation on addon
#1
How can I put animations on a image in my addon?
Reply
#2
http://mirrors.xbmc.org/docs/python-docs...Animations
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
(2016-01-18, 23:31)ronie Wrote: http://mirrors.xbmc.org/docs/python-docs...Animations

I guess the TC asked not about that.

Usually you don't need to create anything. ControlImage supports animation in GIFs and PNGs if there is any.
Reply
#4
I have an addon that fetches 4 images from lorempixel, I want to give them some animation so that the addon wont be so plain.

Im building a product promotion screen at my job using kodi, since I'm the only one that is developing in this project, I'm acquireing knowledge so that I can share to my boss and colleague so that they can learn aswell and start helping me with the develop
Reply
#5
Ahh so what your asking for is to be able to merge 4 separate images into an animation...
Reply
#6
for my current demo yes, like show the 4 images, they gradualy fade, then the image changes and they gradually appear
Reply
#7
does your addon use the xbmcgui.Window class or the xbmcgui.WindowXML class?

perhaps you could show us your current code, it would make it easier for us to recommend a proper solution.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#8
I started to develop it yesterday, but made no progress, im new to kodi and I dont know the structure for this kind of addon. I developed other simple addons and I know theyr structure, but addons with skinning, I dont know the structure
Reply
#9
(2016-01-19, 08:27)Roman_V_M Wrote:
(2016-01-18, 23:31)ronie Wrote: http://mirrors.xbmc.org/docs/python-docs...Animations

I guess the TC asked not about that.

Usually you don't need to create anything. ControlImage supports animation in GIFs and PNGs if there is any.

Animated PNG (APNG) is not supported from anything I have seen - just did a test with Isengard RC1 and the APNG file failed to animate. You are correct that Ani GIFs work. Would be nice to support APNG (alpha support, etc).

is supporting animated PNG files a dead issue?

Mario

FYI - https://en.wikipedia.org/wiki/APNG if you never heard of them (up until 2 years ago I hadn't)
Reply
#10
(2016-01-21, 20:46)mgonzales Wrote: is supporting animated PNG files a dead issue?

https://github.com/xbmc/xbmc/pull/8937
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#11
(2016-01-22, 00:38)ronie Wrote:
(2016-01-21, 20:46)mgonzales Wrote: is supporting animated PNG files a dead issue?

https://github.com/xbmc/xbmc/pull/8937

Oh wow - I had seen this issue pop up from time to time but never seem to get traction - that's very cool!

Probably too late to make into Isengard - will have to watch the PR to see when it shows up in a nightly or test build.

Thanks for the info Ronie!

Mario
Reply

Logout Mark Read Team Forum Stats Members Help
Image animation on addon1