2.2.27 Image
The Image structure specifies an image that is used as an argument to a GDI+ function.
-
Image = imageFlags length imageContents
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
imageFlags |
length |
||||||||||||||||||||||||||||||
... |
imageContents (variable) |
||||||||||||||||||||||||||||||
... |
imageFlags (1 byte): A byte field that specifies the image properties used to draw the image. This field is a bitmask and is specified by the following bit fields.
-
0
1
2
3
4
5
6
7
8
91
0
1
2
3
4
5
6
7
8
92
0
1
2
3
4
5
6
7
8
93
0
1A
reserved
-
A – Smoothing (1 bit): A bit that specifies that the image is smoothed when scaling.
-
reserved (7 bits): The value MUST be zero.
length (4 bytes): An Int32 value that specifies the length, in bytes, of the image (specified by the imageContents field) in this structure.
imageContents (variable): A byte array that specifies the content of the image. The number of bytes MUST match the value of the length field.