Android take picture, but save a small size 160x160 image in internal memory

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Android take picture, but save a small size 160x160 image in internal memory



I have looked around but I could not find a suitable answer, hence asking it here. I want to take a picture, and save a lower size version eg. 160x160 size in phone's internal memory.



Now, I have seen code saving full size picture in internal and external memory. I have seen code getting a bitmap thumbnail from the picture, but this exact scenario is not explored in depth anywhere.
I do not want any copy of this picture to exist except a 160 x 160 size (whichever height/width limit applies) in internal memory.









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

'Series' object is not callable Error / Statsmodels illegal variable name