width and animations
Posted: 09 Jan 2006 16:12
Hi
How does VLC know the height of each frame in an animation image ?
For the width, I guess it gets this info directly from the file, but for the height?
Let's say, I have an animation, height="3124" width="204".
Since I have this code (which works) :
What doesn't make VLC think each frame's height is 100px or even 143 or why not 704 for instance ?
Shouldn't we add width="204" height="142" to the ID definitions like it's the case for SubBitmaps ?
see you
How does VLC know the height of each frame in an animation image ?
For the width, I guess it gets this info directly from the file, but for the height?
Let's say, I have an animation, height="3124" width="204".
Since I have this code (which works) :
Code: Select all
<Bitmap id="lcd-intro" file="images/normal-mode/lcd-intro.png" alphacolor="#ff00ff" nbFrames="22" fps="2" />
<!-- Huge animation LCD -->
<Button x="54" y="37"
up="lcd-intro"
action="none" tooltiptext="" />
Shouldn't we add width="204" height="142" to the ID definitions like it's the case for SubBitmaps ?
see you