Packages

 

com.aspose.imaging.fileformats.bmp

Class BitmapV4Header

  • Direct Known Subclasses:
    BitmapV5Header


    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.

    • Method Detail

      • 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.

      • setRedMask

        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.

      • 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.

      • setGreenMask

        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.

      • 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.

      • setBlueMask

        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.

      • getAlphaMask

        public int getAlphaMask()

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

      • setAlphaMask

        public void setAlphaMask(int value)

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

      • getCSType

        public int getCSType()

        Gets or sets the color space of the DIB.

      • setCSType

        public void setCSType(int value)

        Gets or sets the color space of the DIB.

      • getEndpoints

        public CieCoordinatesTriple getEndpoints()

        Gets or sets the CoordinatesTriple class.

        Returns:
        The endpoints.
      • setEndpoints

        public void setEndpoints(CieCoordinatesTriple value)

        Gets or sets the CoordinatesTriple class.

        Parameters:
        value - The endpoints.
      • getGammaRed

        public int getGammaRed()

        Gets or sets the gamma red.

        Returns:
        The gamma red.
      • setGammaRed

        public void setGammaRed(int value)

        Gets or sets the gamma red.

        Parameters:
        value - The gamma red.
      • getGammaGreen

        public int getGammaGreen()

        Gets or sets the gamma green.

        Returns:
        The gamma green.
      • setGammaGreen

        public void setGammaGreen(int value)

        Gets or sets the gamma green.

        Parameters:
        value - The gamma green.
      • getGammaBlue

        public int getGammaBlue()

        Gets or sets the gamma blue.

        Returns:
        The gamma blue.
      • setGammaBlue

        public void setGammaBlue(int value)

        Gets or sets the gamma blue.

        Parameters:
        value - The gamma blue.