public class BitmapV4Header extends BitmapInfoHeader
The BitmapV4Header structure is the bitmap information header file. It is an extended version of the BITMAPINFOHEADER structure.
The BitmapV4Header structure is extended to allow a JPEG or PNG image to be passed as the source image to StretchDIBits.
BITMAP_INFO_HEADER_SIZE, BITMAP_INFO_HEADER_SIZE_V_4, BITMAP_INFO_HEADER_SIZE_V_5
Constructor and Description |
---|
BitmapV4Header()
Initializes a new instance of the
BitmapV4Header class. |
BitmapV4Header(byte[] bytes)
Initializes a new instance of the
BitmapV4Header class. |
Modifier and Type | Method and Description |
---|---|
long |
getAlphaMask()
Gets or sets the alpha mask.
|
long |
getBlueMask()
Gets or sets the blue mask.
|
long |
getCSType()
Gets or sets the type of the cs.
|
CieCoordinatesTriple |
getEndpoints()
Gets or sets the CoordinatesTriple class.
|
long |
getGammaBlue()
Gets or sets the gamma blue.
|
long |
getGammaGreen()
Gets or sets the gamma green.
|
long |
getGammaRed()
Gets or sets the gamma red.
|
long |
getGreenMask()
Gets or sets the color mask that specifies the green component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
|
long |
getRedMask()
Gets or sets the red mask.
|
void |
setAlphaMask(long value)
Gets or sets the alpha mask.
|
void |
setBlueMask(long value)
Gets or sets the blue mask.
|
void |
setCSType(long value)
Gets or sets the type of the cs.
|
void |
setEndpoints(CieCoordinatesTriple value)
Gets or sets the CoordinatesTriple class.
|
void |
setGammaBlue(long value)
Gets or sets the gamma blue.
|
void |
setGammaGreen(long value)
Gets or sets the gamma green.
|
void |
setGammaRed(long value)
Gets or sets the gamma red.
|
void |
setGreenMask(long value)
Gets or sets the color mask that specifies the green component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
|
void |
setRedMask(long value)
Gets or sets the red mask.
|
getBitmapColorsImportant, getBitmapColorsUsed, getBitmapCompression, getBitmapHeight, getBitmapImageSize, getBitmapPlanes, getBitmapWidth, getBitmapXPelsPerMeter, getBitmapYPelsPerMeter, getBitsPerPixel, getHeaderSize, setBitmapColorsImportant, setBitmapColorsUsed, setBitmapCompression, setBitmapHeight, setBitmapImageSize, setBitmapPlanes, setBitmapWidth, setBitmapXPelsPerMeter, setBitmapYPelsPerMeter, setBitsPerPixel, setHeaderSize
public BitmapV4Header()
Initializes a new instance of the BitmapV4Header
class.
public BitmapV4Header(byte[] bytes)
Initializes a new instance of the BitmapV4Header
class.
bytes
- The bytes.public long getRedMask()
Gets or sets the red mask.
Value: The red mask.public void setRedMask(long value)
Gets or sets the red mask.
Value: The red mask.public long getGreenMask()
Gets or sets the color mask that specifies the green component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
Value: The green mask.public void setGreenMask(long value)
Gets or sets the color mask that specifies the green component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
Value: The green mask.public long getBlueMask()
Gets or sets the blue mask.
Value: The blue mask.public void setBlueMask(long value)
Gets or sets the blue mask.
Value: The blue mask.public long getAlphaMask()
Gets or sets the alpha mask.
Value: The alpha mask.public void setAlphaMask(long value)
Gets or sets the alpha mask.
Value: The alpha mask.public long getCSType()
Gets or sets the type of the cs.
Value: The type of the cs.public void setCSType(long value)
Gets or sets the type of the cs.
Value: The type of the cs.public CieCoordinatesTriple getEndpoints()
Gets or sets the CoordinatesTriple class.
Value: The endpoints.public void setEndpoints(CieCoordinatesTriple value)
Gets or sets the CoordinatesTriple class.
Value: The endpoints.public long getGammaRed()
Gets or sets the gamma red.
Value: The gamma red.public void setGammaRed(long value)
Gets or sets the gamma red.
Value: The gamma red.public long getGammaGreen()
Gets or sets the gamma green.
Value: The gamma green.public void setGammaGreen(long value)
Gets or sets the gamma green.
Value: The gamma green.public long getGammaBlue()
Gets or sets the gamma blue.
Value: The gamma blue.public void setGammaBlue(long value)
Gets or sets the gamma blue.
Value: The gamma blue.Copyright (c) 2008-2016 Aspose Pty Ltd. All Rights Reserved.