mirror of
https://github.com/apache/cordova-android.git
synced 2025-03-14 07:11:04 +08:00

Instead of reading the entire image into a bitmap then scaling we use the inSampleSize option to get a close to the target width and height as possible then we scale that smaller image.