Skip to content

Investigate using alternative Bitmap formats (e.g. RGB_565) to reduce memory footprint #5853

Description

@markushi

Explore using lower-memory bitmap configs (RGB_565, etc.) instead of ARGB_8888 where full alpha/color depth isn't needed — e.g. Session Replay screenshot capture — to reduce memory pressure and OOM risk.

Tradeoffs: RGB_565 drops the alpha channel and reduces color depth, so any use needs to be scoped carefully (screenshots vs. general bitmap handling). Related but distinct from #4154 (screenshot export encoding format PNG vs JPEG) — this is about the in-memory Bitmap.Config used during capture, not the exported encoding.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions