int android.graphics.Bitmap.getRowBytes()
2013-07-31 11:52
253 查看
int android.graphics.Bitmap.getRowBytes()
Return the number of bytes between rows in the bitmap's pixels. Note that this refers to the pixels as stored natively by the bitmap. If you call getPixels() or setPixels(), then the pixels are uniformly treated as 32bit values, packed according to the Color class.
Returns:
number of bytes between rows of the native bitmap pixels.
Return the number of bytes between rows in the bitmap's pixels. Note that this refers to the pixels as stored natively by the bitmap. If you call getPixels() or setPixels(), then the pixels are uniformly treated as 32bit values, packed according to the Color class.
Returns:
number of bytes between rows of the native bitmap pixels.
相关文章推荐
- 'int android.graphics.Bitmap.getWidth()' on a null object reference
- Bitmap android.graphics.Bitmap.createBitmap(int width, int height, Config config) Config参数的说明
- Bitmap android.graphics.Bitmap.createBitmap(int width, int height, Config config)张第三个参数的含义
- Bitmap android.graphics.Bitmap.createBitmap(int width, int height, Config config) Config参数的说明
- Best code examples for Bitmap compress method (android.graphics.Bitmap.compress)
- android.graphics.Bitmap.Config<ALPHA_8, ARGB_4444,ARGB_8888,RGB_565>
- Canvas: trying to use a recycled bitmap android.graphics.Bitmap
- android Bitmap getByteCount和getRowBytes
- java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap...
- 多方通话的时候遇到图片回收问题---目前没有方法解决 Canvas: trying to use a recycled bitmap android.graphics.Bitmap
- Bitmap的recycle后Canvas: trying to use a recycled bitmap android.graphics.Bitmap问题
- 使用高德地图时出现 trying to use a recycled bitmap android.graphics.Bitmap
- android.graphics.BitmapRegionDecoder
- Android Bitmap计算大小 getRowBytes和getByteCount()
- java.lang.RuntimeException: Canvas: trying to use a recycled bitmap android.graphics.Bitmap@41a7f048
- android.graphics.Bitmap.Config<ALPHA_8, ARGB_4444,ARGB_8888,RGB_565>
- Bitmap回收异常:Canvas: trying to use a recycled bitmap android.graphics.Bitmap解决
- Canvas: trying to use a recycled bitmap android.graphics.Bitmap@XXX
- Android ApiDemos示例解析(56):Graphics->BitmapPixels
- android.graphics.Bitmap.Config<ALPHA_8, ARGB_4444,ARGB_8888,RGB_565>