Scaling Bitmap with Android
So I'm developing an photo editing application for Android and I was just wondering if anybody 开发者_运维问答knows what kind of scaling algorithm (bicubic/bilinear interpolation, etc.) is used by the Bitmap.createScaledBitmap(...) method because developer.android.com does not give any information concerning this. A link to the documentation of the method
It's bilinear interpolation with a magnification limit. When exceeding that limit, all additional magnification is done by nearest neighbor interpolation.
精彩评论