System.Drawing.Imaging BitmapData color components order

41 Views Asked by At

From the docs:

...The format also defines the order of the color components within a single pixel of data.

Where is the order documented? I know that, for example,locking the bitmap with format 24bppRgb gives me a region in memory filled with pixel data in the form:

  1. B(first byte)- G(second) - R(third)
  2. Each row has an alignment of 4 byte

I found "2" in the documentation, however I didn't manage to find anything about "1" (color component order). Could you help me find that info somewhere in the documentation?

0

There are 0 best solutions below