IMAGE INFO

From AVObjects Knowledge Base
(Difference between revisions)
Jump to: navigation, search
 
Line 23: Line 23:
 
<TD width="150px">'''Name'''
 
<TD width="150px">'''Name'''
 
<TD width="450px">'''Description'''
 
<TD width="450px">'''Description'''
  <TR><TD COLSPAN="2" ALIGN="center"> ''Filter properties related methods''
 
 
   <TR><TD> biWidth <TD> Image width.
 
   <TR><TD> biWidth <TD> Image width.
 
   <TR><TD> biHeight <TD> Image height.
 
   <TR><TD> biHeight <TD> Image height.
Line 37: Line 36:
 
<LI>
 
<LI>
 
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.
 
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.
 +
</UL>

Revision as of 12:14, 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.
Personal tools