Moein/Rouzbah Member Nov 29, 2023 #1 Hello friends, I want to display some images at high speed (eg 60 fps or more). What is the solution; Do I load images one after the other? Do I hide and show control of images one by one? Or should I save the images as a matrix and represent each pixel with a point? Thank you for your guidance
Hello friends, I want to display some images at high speed (eg 60 fps or more). What is the solution; Do I load images one after the other? Do I hide and show control of images one by one? Or should I save the images as a matrix and represent each pixel with a point? Thank you for your guidance
Erel B4X founder Staff member Licensed User Longtime User Nov 29, 2023 #2 Start with the simplest implementation. - Load the bitmaps (make sure that they aren't larger than they need to be). Code: Dim index As Int = 0 Do While True ImageView.SetBitmap(images.Get(index)) Sleep(15) index = index + 1 Mod images.Size Next Upvote 0
Start with the simplest implementation. - Load the bitmaps (make sure that they aren't larger than they need to be). Code: Dim index As Int = 0 Do While True ImageView.SetBitmap(images.Get(index)) Sleep(15) index = index + 1 Mod images.Size Next
Moein/Rouzbah Member Nov 29, 2023 #3 [CODE lang="b4x" title="Excellent, Other than these two:"]. . index = (index + 1) Mod Images.Size Loop .[/CODE] Upvote 0
[CODE lang="b4x" title="Excellent, Other than these two:"]. . index = (index + 1) Mod Images.Size Loop .[/CODE]