An open API service indexing awesome lists of open source software.

https://github.com/alperozturk96/bitmapdownsampling

Helpful solution to reduce image size.
https://github.com/alperozturk96/bitmapdownsampling

android bitmap downsample downsampling java memory-optimization

Last synced: 3 months ago
JSON representation

Helpful solution to reduce image size.

Awesome Lists containing this project

README

        

# 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](https://images7.alphacoders.com/671/671281.jpg)

https://user-images.githubusercontent.com/67455295/140652845-bd4eaee2-3336-45fd-b613-11f8c6818c0c.mp4

## What Can I Learn From This Project

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