isRowBytesValid

fun isRowBytesValid(rowBytes: Long): Boolean

Returns true if rowBytes is valid for this ImageInfo.

Return

true if rowBytes is large enough to contain pixel row and is properly aligned

Parameters

rowBytes

size of pixel row including padding