开发者

Scaling Bitmap with Android

开发者 https://www.devze.com 2023-01-30 00:50 出处:网络
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 th

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号