/BitmapDownsampling

Helpful solution to reduce image size.

Primary LanguageJava

BitmapDownsampling

This demo project completed at fall of 2021

The purpose of this application is to downsample bitmap with modern and old method.

In this project user can able to choose desired downsample width and see difference on screen.

Comparison:
RawImage Downsample (3000px) Downsample (1000px) Downsample (100px)
32mb 19.5mb 4875kb 75kb

Raw Image Link

downsamplingdemo.mp4

What Can I Learn From This Project

  • Downsample image via BitmapFactory
  • Downsample image via ImageDecoder which is more modern way to do that.