rowBytes

Returns row bytes, the interval from one pixel row to the next. Row bytes is at least as large as: getWidth() * getBytesPerPixel().

Returns zero if getColorType() is ColorType.UNKNOWN, or if row bytes supplied to .setImageInfo is not large enough to hold a row of pixels.

Return

byte length of pixel row