please first understand this extension and then only suggest something else,
this extension is different from what you are thinking, what you are think is only for offline images, but this extension can do that in online images without any delay and with no lagging or limitations
suppose you want to use this ONLINE image in your app in a list
but you only want to use 50% of its height. here you can do 3 things =
- Edit this image in your desirable height and then upload it in your data base
- Download this image in the device of your user, then get it from the storage of your user, then edit/crop it in that 50% height and then show it in the list
- You can use this extension. Using this extension, whatever image you load from online will be converted to the height of the component where you are showing/loading this image.
1st and 2nd method will be time consuming and the 2nd method will make your app laggy and it will take lot of time to crop every ONLINE image then then show/load them in your list.
Ex = You want to use only 50% of this image, so just decrease the height of the component in which you are showing/loading this image and height of this ONLINE image will automatically becomes that of the height of that component.
If you decrease component height without using this extension, then you will get something like this
here you can see that your whole image will be loaded in that component and image will shrink in order to fill that component
If you load this image in image component, without using this extension =
here image height will remain same, but in order to do that your image not able to fill the whole image component
Also using this extension, if you decrease your image height/width then size (in kb, mb, gb ,etc) of your image will also decrease. Means now image will load faster and takes less data to load.