Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

How to reduce the filesize of the saved remote image

$
0
0

I'm creating an app in which I'm getting remote data as JSON. I've few images. I'm saving these images into my applicationDataDirectory after being loaded so the user doesn't have to load to again.

It was working fine on iOS. But as soon as I tested it on android the app crashed while scrolling my tableView with those images. Then I realised that my Images are somehow getting bigger when saved as far as fileSize is concerned. The original images are around 100 -150 Kb but it is getting saved the filesize gets to 650Kb - 1Mb.

Thats the reason why it is getting crashed in android. Coz it has a limit of 15MB or something.

So, How can I resuce the fileSize of the saved images.


Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>