IXC_MemoryType Enumeration

From PDF XChange PDF SDK
Jump to: navigation, search
(Automatic page editing by robot)
 
m (Automatic page editing by robot)
 
(11 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
 
{{#customTitle:IXC_MemoryType Enumeration}}
 
{{#customTitle:IXC_MemoryType Enumeration}}
 +
{{#parentPage:PXV:IXC_Enumerations|IXC_MemoryType|enum}}
  
Specifies the ...
+
Specifies how image is stored in the memory.
  
 
== Syntax ==
 
== Syntax ==
 
<pre class="brush:cpp;gutter:false">enum IXC_MemoryType
 
<pre class="brush:cpp;gutter:false">enum IXC_MemoryType
 
{
 
{
     MemoryType_1bpp = 1;
+
     MemoryType_1bpp = 1,
     MemoryType_4bpp = 2;
+
     MemoryType_4bpp = 2,
     MemoryType_8bpp = 3;
+
     MemoryType_8bpp = 3,
     MemoryType_16bpp = 4;
+
     MemoryType_16bpp = 4,
     MemoryType_24bpp = 5;
+
     MemoryType_24bpp = 5,
     MemoryType_32bpp = 6;
+
     MemoryType_32bpp = 6,
     MemoryType_4RLE = 7;
+
     MemoryType_4RLE = 7,
     MemoryType_8RLE = 8;
+
     MemoryType_8RLE = 8,
 
};
 
};
 
</pre>
 
</pre>
Line 20: Line 22:
 
== 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]]

Latest revision as of 10:33, 23 May 2015

Specifies how image is stored in the memory.

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