开发者

Make more room in the bitmap in android

开发者 https://www.devze.com 2023-02-11 03:22 出处:网络
What is the best way to make more room (increase width of the bitmap) in the bitmap without开发者_JS百科 distorting or scaling the existing data in Android. I\'m tried various method and still can\'t

What is the best way to make more room (increase width of the bitmap) in the bitmap without开发者_JS百科 distorting or scaling the existing data in Android. I'm tried various method and still can't figure out how to do it


Create a Nine-patch image with Draw 9 Patch tool


Create an empty bitmap which is wider than your existing one, and draw the original bitmap onto the empty bitmap,

0

精彩评论

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