Returns the minimum size of a row of image pixels in bytes.
|format ||The format of the image pixel |
|type ||The type of the image pixel |
|width ||The number of image pixels on a row |
|alignment ||The byte alignment of a row of the image or zero |
Returns the minimum size of a row of image pixels in bytes, given the format, type and width of the image. The size is padded to a multiple of the alignment value, unless alignment is passed as zero, in which case no padding occurs.
- The number of bytes in a row.