About Frames

Appendix ››
Parent Previous Next

About Frames

Some image types contain multiple frames, e.g. icons or animated GIF's.
M!Image can load only one frame, so you have to specify the frame number in most of the MImgLoad* functions.
Specify 0 for the first frame, 1 for the second and so on. For single frame images, e.g. bitmaps, specify 0.

If you load an icon, you can specify one of the following constants to let M!Image find the appropriate frame:

MIMG_FRAME_ICON_SMALL

Small Icon ( 16 * 16 ), color depth of the display

MIMG_FRAME_ICON_SMALL_4BPP

Small Icon ( 16 * 16 ), 4BPP ( 16 colors )

MIMG_FRAME_ICON_SMALL_8BPP

Small Icon ( 16 * 16 ), 8BPP ( 256 colors )

MIMG_FRAME_ICON_SMALL_24BPP

Small Icon ( 16 * 16 ), 24BPP ( True color )

MIMG_FRAME_ICON_MEDIUM

Medium Icon ( 24 * 24 ), color depth of the display

MIMG_FRAME_ICON_MEDIUM_4BPP

Medium Icon ( 24 * 24 ), 4BPP ( 16 colors )

MIMG_FRAME_ICON_MEDIUM_8BPP

Medium Icon ( 24 * 24 ), 8BPP ( 256 colors )

MIMG_FRAME_ICON_MEDIUM_24BPP

Medium Icon ( 24 * 24 ), 24BPP ( True color )

MIMG_FRAME_ICON_LARGE

Large Icon ( 32 * 32 ), color depth of the display

MIMG_FRAME_ICON_LARGE_4BPP

Large Icon ( 32 * 32 ), 4BPP ( 16 colors )

MIMG_FRAME_ICON_LARGE_8BPP

Large Icon ( 32 * 32 ), 8BPP ( 256 colors )

MIMG_FRAME_ICON_LARGE_24BPP

Large Icon ( 32 * 32 ), 24BPP ( True color )

MIMG_FRAME_ICON_XLARGE

XL Icon ( 48 * 48 ), color depth of the display

MIMG_FRAME_ICON_XLARGE_4BPP

XL Icon ( 48 * 48 ), 4BPP ( 16 colors )

MIMG_FRAME_ICON_XLARGE_8BPP

XL Icon ( 48 * 48 ), 8BPP ( 266 colors )

MIMG_FRAME_ICON_XLARGE_24BPP

XL Icon ( 48 * 48 ), 24BPP ( True color )

MIMG_FRAME_ICON_XXLARGE

XXL Icon ( 64 * 64 ), color depth of the display

MIMG_FRAME_ICON_XXLARGE_4BPP

XXL Icon ( 64 * 64 ), 4BPP ( 16 colors )

MIMG_FRAME_ICON_XXLARGE_8BPP

XXL Icon ( 64 * 64 ), 8BPP ( 256 colors )

MIMG_FRAME_ICON_XXLARGE_24BPP

XXL Icon ( 64 * 64 ), 24BPP ( True color )

MIMG_FRAME_ICON_XXXLARGE

XXXL Icon ( 128 * 128 ), color depth of the display

MIMG_FRAME_ICON_XXXLARGE_4BPP

XXXL Icon ( 128 * 128 ), 4BPP ( 16 colors )

MIMG_FRAME_ICON_XXXLARGE_8BPP

XXXL Icon ( 128 * 128 ), 8BPP ( 256 colors )

MIMG_FRAME_ICON_XXXLARGE_24BPP

XXXL Icon ( 128 * 128 ), 24BPP ( True color )

MIMG_FRAME_ICON_XXXXLARGE

XXXXL Icon ( 256 * 256 ), color depth of the display

MIMG_FRAME_ICON_XXXXLARGE_4BPP

XXXXL Icon ( 256 * 256 ), 4BPP ( 16 colors )

MIMG_FRAME_ICON_XXXXLARGE_8BPP

XXXXL Icon ( 256 * 256 ), 8BPP ( 256 colors )

MIMG_FRAME_ICON_XXXXLARGE_24BPP

XXXXL Icon ( 256 * 256 ), 24BPP ( True color )

 

Created with the Personal Edition of HelpNDoc: News and information about help authoring tools and software