【发布时间】:2014-07-19 02:10:10
【问题描述】:
我真的需要知道一些关于 bitmap.getPixels(...) 的细节,文档没有说。我想知道 int[] 数组中的像素是如何显示的。是逐行还是逐列?
更具体一点:
imagine image: [0,0][0,1][0,2][0,3]
[1,0][1,1][1,2][1,3]
array looks like this?: [0,0],[0,1],[0,2],[0,3],[1,0],[1,1],[1,2],[1,3]
or it looks like this?: [0,0],[1,0],[0,1],[1,1],[0,2],[1,2]...
谢谢!
【问题讨论】:
标签: android arrays image bitmap