Bitmap Stride And 4 bytes Relation?

后端 未结 3 1990
抹茶落季
抹茶落季 2021-02-06 00:00

Whats does this sentence mean:

The Stride property, holds the width of one row in bytes. The size of a row however may not be an exact multiple of the pix

3条回答
  •  感动是毒
    2021-02-06 00:42

    Let me give you an example:

    This means that if the width is 160, stride will be 160. But if width is 161, then stride will be 164.

提交回复
热议问题