Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 92f003ff authored by Mark Lu's avatar Mark Lu
Browse files

docs: Fixed logic for determining image sample size

The code sample in the "Load a Scaled Down Version into Memory"
section on the "Loading Large Bitmaps Efficiently" page now handles
corner cases correctly when determining how to downscale an image by
a factor that is equal to a power of 2.

Bug: 25944661
Change-Id: I971f90fb5d153abec4bc1d96ae465e3910e82efa
parent b2cd9c95
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment