IXC_MemoryType Enumeration

From Tracker Software PDF SDK
Jump to: navigation, search
m (Automatic page editing by robot)
Line 2: Line 2:
 
{{#customTitle:IXC_MemoryType Enumeration}}
 
{{#customTitle:IXC_MemoryType Enumeration}}
 
{{#parentPage:PXV:IXC|IXC_MemoryType Enumeration|enum}}
 
{{#parentPage:PXV:IXC|IXC_MemoryType Enumeration|enum}}
{{ToWrite}}
+
 
 
{{ToReview}}
 
{{ToReview}}
  
Specifies the ...
+
Specifies the image memory type.
  
 
== Syntax ==
 
== Syntax ==
Line 23: Line 23:
 
== Constants ==
 
== Constants ==
 
;MemoryType_1bpp
 
;MemoryType_1bpp
:The ...
+
:Monochrome image (1 bit per pixel), and palette (which must be specified) contains up to 2 entries. Each bit in the image array represents a pixel.
 
;MemoryType_4bpp
 
;MemoryType_4bpp
:The ...
+
:The image has a maximum of 16 colors, and palette (which must be specified) contains up to 16 entries. Each pixel in the image is represented by a 4-bit index within the palette.
 
;MemoryType_8bpp
 
;MemoryType_8bpp
:The ...
+
:The image has a maximum of 256 colors, and palette (which must be specified) contains up to 256 entries. Each pixel in the image is represented by one byte, the value of which is an index within the palette.
 
;MemoryType_16bpp
 
;MemoryType_16bpp
:The ...
+
:HighColor image (16 bits per pixel).
 
;MemoryType_24bpp
 
;MemoryType_24bpp
:The ...
+
:TrueColor image (24 bits per pixel).
 
;MemoryType_32bpp
 
;MemoryType_32bpp
:The ...
+
:DeepColor image (32 bits per pixel).
 
;MemoryType_4RLE
 
;MemoryType_4RLE
:The ...
+
:The same as MemoryType_4bpp, however the image data contained in the data array is compressed by the RLE method.
 +
:For this type of the image, if stride is negative, data represents a vertically flipped image (such as in a BMP file), otherwise it represents a normally oriented image.
 
;MemoryType_8RLE
 
;MemoryType_8RLE
:The ...
+
:The same as MemoryType_8bpp, but the image data contained in the data array is compressed by the RLE method.
 +
:For this type of the image, if stride is negative, data represents a vertically flipped image (such as in a BMP file) otherwise it represents a normally oriented image.
  
 
== See Also ==
 
== See Also ==
See also ...
+
:[[PXV:IIXC_Inst_Page_CreateFromMemory|IIXC_Inst::Page_CreateFromMemory]]

Revision as of 01:57, 30 April 2015


Specifies the image memory type.

Syntax

enum IXC_MemoryType
{
    MemoryType_1bpp  = 1;
    MemoryType_4bpp  = 2;
    MemoryType_8bpp  = 3;
    MemoryType_16bpp = 4;
    MemoryType_24bpp = 5;
    MemoryType_32bpp = 6;
    MemoryType_4RLE  = 7;
    MemoryType_8RLE  = 8;
};

Constants

MemoryType_1bpp
Monochrome image (1 bit per pixel), and palette (which must be specified) contains up to 2 entries. Each bit in the image array represents a pixel.
MemoryType_4bpp
The image has a maximum of 16 colors, and palette (which must be specified) contains up to 16 entries. Each pixel in the image is represented by a 4-bit index within the palette.
MemoryType_8bpp
The image has a maximum of 256 colors, and palette (which must be specified) contains up to 256 entries. Each pixel in the image is represented by one byte, the value of which is an index within the palette.
MemoryType_16bpp
HighColor image (16 bits per pixel).
MemoryType_24bpp
TrueColor image (24 bits per pixel).
MemoryType_32bpp
DeepColor image (32 bits per pixel).
MemoryType_4RLE
The same as MemoryType_4bpp, however the image data contained in the data array is compressed by the RLE method.
For this type of the image, if stride is negative, data represents a vertically flipped image (such as in a BMP file), otherwise it represents a normally oriented image.
MemoryType_8RLE
The same as MemoryType_8bpp, but the image data contained in the data array is compressed by the RLE method.
For this type of the image, if stride is negative, data represents a vertically flipped image (such as in a BMP file) otherwise it represents a normally oriented image.

See Also

IIXC_Inst::Page_CreateFromMemory