BitmapV4Header

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.bmp.BitmapCoreHeader, com.aspose.imaging.fileformats.bmp.BitmapInfoHeader

public class BitmapV4Header extends BitmapInfoHeader

The BitmapV4Header structure is the bitmap information header file. It is an extended version of the BITMAPINFOHEADER structure.

Methods

MethodDescription
getRedMask()Gets or sets the color mask that specifies the red component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
setRedMask(int value)Gets or sets the color mask that specifies the red component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
getGreenMask()Gets or sets the color mask that specifies the green component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
setGreenMask(int value)Gets or sets the color mask that specifies the green component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
getBlueMask()Gets or sets the color mask that specifies the blue component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
setBlueMask(int value)Gets or sets the color mask that specifies the blue component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.
getAlphaMask()Gets or sets the color mask that specifies the alpha component of each pixel.
setAlphaMask(int value)Gets or sets the color mask that specifies the alpha component of each pixel.
getCSType()Gets or sets the color space of the DIB.
setCSType(int value)Gets or sets the color space of the DIB.
getEndpoints()Gets or sets the CoordinatesTriple class.
setEndpoints(CieCoordinatesTriple value)Gets or sets the CoordinatesTriple class.
getGammaRed()Gets or sets the gamma red.
setGammaRed(int value)Gets or sets the gamma red.
getGammaGreen()Gets or sets the gamma green.
setGammaGreen(int value)Gets or sets the gamma green.
getGammaBlue()Gets or sets the gamma blue.
setGammaBlue(int value)Gets or sets the gamma blue.

getRedMask()

public int getRedMask()

Gets or sets the color mask that specifies the red component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.

Returns: int

setRedMask(int value)

public void setRedMask(int value)

Gets or sets the color mask that specifies the red component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.

Parameters:

ParameterTypeDescription
valueint

getGreenMask()

public int getGreenMask()

Gets or sets the color mask that specifies the green component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.

Returns: int

setGreenMask(int value)

public void setGreenMask(int value)

Gets or sets the color mask that specifies the green component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.

Parameters:

ParameterTypeDescription
valueint

getBlueMask()

public int getBlueMask()

Gets or sets the color mask that specifies the blue component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.

Returns: int

setBlueMask(int value)

public void setBlueMask(int value)

Gets or sets the color mask that specifies the blue component of each pixel, valid only if bV4Compression is set to BI_BITFIELDS.

Parameters:

ParameterTypeDescription
valueint

getAlphaMask()

public int getAlphaMask()

Gets or sets the color mask that specifies the alpha component of each pixel.

Returns: int

setAlphaMask(int value)

public void setAlphaMask(int value)

Gets or sets the color mask that specifies the alpha component of each pixel.

Parameters:

ParameterTypeDescription
valueint

getCSType()

public int getCSType()

Gets or sets the color space of the DIB.

Returns: int

setCSType(int value)

public void setCSType(int value)

Gets or sets the color space of the DIB.

Parameters:

ParameterTypeDescription
valueint

getEndpoints()

public CieCoordinatesTriple getEndpoints()

Gets or sets the CoordinatesTriple class.

Returns: CieCoordinatesTriple - The endpoints.

setEndpoints(CieCoordinatesTriple value)

public void setEndpoints(CieCoordinatesTriple value)

Gets or sets the CoordinatesTriple class.

Parameters:

ParameterTypeDescription
valueCieCoordinatesTripleThe endpoints.

getGammaRed()

public int getGammaRed()

Gets or sets the gamma red.

Returns: int - The gamma red.

setGammaRed(int value)

public void setGammaRed(int value)

Gets or sets the gamma red.

Parameters:

ParameterTypeDescription
valueintThe gamma red.

getGammaGreen()

public int getGammaGreen()

Gets or sets the gamma green.

Returns: int - The gamma green.

setGammaGreen(int value)

public void setGammaGreen(int value)

Gets or sets the gamma green.

Parameters:

ParameterTypeDescription
valueintThe gamma green.

getGammaBlue()

public int getGammaBlue()

Gets or sets the gamma blue.

Returns: int - The gamma blue.

setGammaBlue(int value)

public void setGammaBlue(int value)

Gets or sets the gamma blue.

Parameters:

ParameterTypeDescription
valueintThe gamma blue.