Android Question What's the fastest image loader?

Discussion in 'Android Questions' started by wonder, Jun 1, 2019.

  1. wonder

    wonder Expert Licensed User

    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.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    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.
     
    wonder likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice