wonder Expert Licensed User Longtime User Jun 1, 2019 #1 Hi! I've been working with large image sizes, something like 8 megapixels (~3264 x 2448). I understand that LoadBitmapSample and LoadBitmapResize are more efficient than LoadBitmap in terms of memory usage, but my question is: Is using any of these methods faster than LoadBitmap? Or is perhaps, BitmapCreator the fastest solution in terms of load time? Every millisecond matters, so even if one method is only 10 milliseconds faster, that's a huge difference for my project. ...ah! I forgot to mention that I want to resize the image to the screen size (scale down), so it would be great if I could skip some pixels (bytes) at load time.
Hi! I've been working with large image sizes, something like 8 megapixels (~3264 x 2448). I understand that LoadBitmapSample and LoadBitmapResize are more efficient than LoadBitmap in terms of memory usage, but my question is: Is using any of these methods faster than LoadBitmap? Or is perhaps, BitmapCreator the fastest solution in terms of load time? Every millisecond matters, so even if one method is only 10 milliseconds faster, that's a huge difference for my project. ...ah! I forgot to mention that I want to resize the image to the screen size (scale down), so it would be great if I could skip some pixels (bytes) at load time.
Erel B4X founder Staff member Licensed User Longtime User Jun 2, 2019 #2 wonder said: Is using any of these methods faster than LoadBitmap? Click to expand... You should test it. I expect them to be significantly faster. BitmapCreator will not help here as you still need to call one of the LoadBitmap methods. Upvote 0
wonder said: Is using any of these methods faster than LoadBitmap? Click to expand... You should test it. I expect them to be significantly faster. BitmapCreator will not help here as you still need to call one of the LoadBitmap methods.