Skip to content

feat: Added support for Downsampling images. - #13

Merged
surajkumar merged 3 commits into
mainfrom
down-sampling-to-image-bitmap
Apr 22, 2026
Merged

feat: Added support for Downsampling images.#13
surajkumar merged 3 commits into
mainfrom
down-sampling-to-image-bitmap

Conversation

@AdiK5050

Copy link
Copy Markdown
Contributor

ByteArray extension function downSamplingToImageBitmap converts the image into a bitmap of required screen size preventing Canvas trying to draw too big bitmap... that results in app crash.

… screen size and provide an ImageBitmap for display.
@AdiK5050
AdiK5050 requested a review from surajkumar April 21, 2026 06:57
@surajkumar
surajkumar merged commit 244c293 into main Apr 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants