VU Meter image strip jumps on the latest frame
-
@orange good question -maybe some combination of panels inside panels? - I never do this "rescaling to get a sharper image" thing...I leave all the image processing to photoshop (or gimp in my case..)
-
Wow! Setting
"width": 151,
to"width": 150.9,
issue gone.Since the strip is vertical, at first I thought that the issue was about the height value, but it was width. So weird...
-
@orange - glad you got it sorted.
-
I encountered the same issue and ended up setting the index to Amount of Images - 1. That worked on my end. (basically discarding the last frame).
-
@orange Could this be globally related to the decimal issue I'm seeing in other things?
-
@dustbro Yes it could be. This decimal sample delay issue right?
-
@orange yup
-
@orange Can I ask a noob question pls:
// the yOffset is index * heightOfFilmstrip this.setImage("filmstrip", 0, index * 120.0);
What's is heightOfFilmstrip referring to?
-
@DanH said in VU Meter image strip jumps on the latest frame:
@orange Can I ask a noob question pls:
// the yOffset is index * heightOfFilmstrip this.setImage("filmstrip", 0, index * 120.0);
What's is heightOfFilmstrip referring to?
heightOfFilmstrip
value is the exact height value (in pixels) of the each frame in the image strip.Below height value is for the final resized look.
Content.setPropertiesFromJSON(name, { "width": 151, "height": 83, "opaque": true });
-
@orange Oh right, I get it now, that's what confused me! Thanks :)