IMAGE INFO
From AVObjects Knowledge Base
(Difference between revisions)
Line 1: | Line 1: | ||
<br> | <br> | ||
The '''IMAGE_INFO''' structure is used in some methods of the [[Text & Graphics Overlay]] Filter for adding an image to overlay from memory.<br><br> | The '''IMAGE_INFO''' structure is used in some methods of the [[Text & Graphics Overlay]] Filter for adding an image to overlay from memory.<br><br> | ||
− | + | <br> | |
=== Syntax === | === Syntax === | ||
Line 14: | Line 14: | ||
} IMAGE_INFO; | } IMAGE_INFO; | ||
</source> | </source> | ||
− | + | <br> | |
=== Structure members === | === Structure members === | ||
Line 29: | Line 29: | ||
<TR><TD> biSizeImage <TD> Image size. | <TR><TD> biSizeImage <TD> Image size. | ||
</TABLE> | </TABLE> | ||
− | + | <br> | |
=== Remarks === | === Remarks === | ||
<UL> | <UL> |
Latest revision as of 12:15, 19 August 2007
The IMAGE_INFO structure is used in some methods of the Text & Graphics Overlay Filter for adding an image to overlay from memory.
Syntax
typedef struct IMAGE_INFO { LONG biWidth; LONG biHeight; WORD biBitCOunt; DWORD biCompression; DWORD biSizeImage; } IMAGE_INFO;
Structure members
The following table lists the members exposed by the IMAGE_INFO structure.
Name | Description |
biWidth | Image width. |
biHeight | Image height. |
biBitCount | Image color depth. Equals to either 24 or 32. |
biCompression | Equals only to BI_RGB(0). |
biSizeImage | Image size. |
Remarks
- Only 24 and 32 bits bitmaps are supported in the current version. For 32 bits bitmaps ARGB32 bitmaps are assumed.
- If biHeight contains a positive value, the bitmap is a bottom-up DIB with its origin at the lower-left corner. If the value is negative, the bitmap is a top-down DIB with the originat the upper-left corner.