How to download image faster in android Volley / Picasso / Glide any other?

I am developing a project in which I need to download some images from the server. I tried these 3 methods.

Picasso:

Picasso.with(context).load(image).into(holder.image); 

Glide:

 Glide.with(context).load(image).into(holder.image); 

Volley:

 imageLoader.get(image, new ImageLoader.ImageListener() { @Override public void onResponse(ImageLoader.ImageContainer response, boolean isImmediate) { holder.image.setImageBitmap(response.getBitmap()); } @Override public void onErrorResponse(VolleyError error) { } }); 

Undoubtedly, all of these methods work very well with a fast Internet connection. but in 2G It takes too much time to download a 20kb - 25kb image. I also tried resizing the image and all that. But this does not work. I saw an application such as Amazon or Flipkart, or any e-commerce application that these applications work very well in a slow Internet connection, and dowanloads all the images in good resolution as well. So, I want some expert solutions on this issue.

+6
source share
3 answers

Glide, Picasso is just a Fetch image from the server and show it. if your network speed is slower, images take longer to download. you need to resize the images on the server side. Using WebP format instead of JPEG or PNG will help to reduce the size without compromising quality.

Note: You can use Thumbor to do this easily.

+2
source

If you need to upload a single image with a few clicks and save them to an SD card. Their Android class DownLoadManager is the perfect and simple solution for this. Or, if you want to show a bunch of images in your application from the Internet, Universal Image Loader is just as useful as Volley and Picasso. To download a Faster image, you need to reduce its size. Use WebP format instead of Jpeg or PNG on the server.

0
source

If caching is not required and downloading directly from the network, then Picasso is a good option. If caching is required, use AQuery for images (or large images). There are several caching options in AQuery.

0
source

All Articles