IMAGE INFO

From AVObjects Knowledge Base
Jump to: navigation, search


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.
Personal tools