Packages

 

com.aspose.cad.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.

    • Constructor Detail

      • BitmapV4Header

        public BitmapV4Header()

        Initializes a new instance of the BitmapV4Header class.

      • BitmapV4Header

        public BitmapV4Header(byte[] bytes)

        Initializes a new instance of the BitmapV4Header class.

        Parameters:
        bytes - The bytes.
    • Method Detail

      • getRedMask

        public long getRedMask()

        Gets or sets the red mask.

        Value: The red mask.
      • setRedMask

        public void setRedMask(long value)

        Gets or sets the red mask.

        Value: The red mask.
      • getGreenMask

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

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

        public long getBlueMask()

        Gets or sets the blue mask.

        Value: The blue mask.
      • setBlueMask

        public void setBlueMask(long value)

        Gets or sets the blue mask.

        Value: The blue mask.
      • getAlphaMask

        public long getAlphaMask()

        Gets or sets the alpha mask.

        Value: The alpha mask.
      • setAlphaMask

        public void setAlphaMask(long value)

        Gets or sets the alpha mask.

        Value: The alpha mask.
      • getCSType

        public long getCSType()

        Gets or sets the type of the cs.

        Value: The type of the cs.
      • setCSType

        public void setCSType(long value)

        Gets or sets the type of the cs.

        Value: The type of the cs.
      • getEndpoints

        public CieCoordinatesTriple getEndpoints()

        Gets or sets the CoordinatesTriple class.

        Value: The endpoints.
      • setEndpoints

        public void setEndpoints(CieCoordinatesTriple value)

        Gets or sets the CoordinatesTriple class.

        Value: The endpoints.
      • getGammaRed

        public long getGammaRed()

        Gets or sets the gamma red.

        Value: The gamma red.
      • setGammaRed

        public void setGammaRed(long value)

        Gets or sets the gamma red.

        Value: The gamma red.
      • getGammaGreen

        public long getGammaGreen()

        Gets or sets the gamma green.

        Value: The gamma green.
      • setGammaGreen

        public void setGammaGreen(long value)

        Gets or sets the gamma green.

        Value: The gamma green.
      • getGammaBlue

        public long getGammaBlue()

        Gets or sets the gamma blue.

        Value: The gamma blue.
      • setGammaBlue

        public void setGammaBlue(long value)

        Gets or sets the gamma blue.

        Value: The gamma blue.