Class BitmapV4Header

Class BitmapV4Header

Namespace: Aspose.Imaging.FileFormats.Bmp
Assembly: Aspose.Imaging.dll (25.7.0)

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.

public class BitmapV4Header : BitmapInfoHeader
   {
       public int Size;
       public int Width;
       public int Height;
       public short Planes;
       public short BitsPerPixel;
       public int Compression;
       public int ImageDataOffset;
       public BitmapV4Header(int size, int width, int height, short planes, short bitsPerPixel, int compression, int imageDataOffset)
       {
           Size = size;
           Width = width;
           Height = height;
           Planes = planes;
           BitsPerPixel = bitsPerPixel;
           Compression = compression;
           ImageDataOffset = imageDataOffset;
       }
   }

Inheritance

object BitmapCoreHeader BitmapInfoHeader BitmapV4Header

Derived

BitmapV5Header

Inherited Members

BitmapInfoHeader.BitmapCompression , BitmapInfoHeader.BitmapImageSize , BitmapInfoHeader.BitmapXPelsPerMeter , BitmapInfoHeader.BitmapYPelsPerMeter , BitmapInfoHeader.BitmapColorsUsed , BitmapInfoHeader.BitmapColorsImportant , BitmapInfoHeader.ExtraBitMasks , BitmapCoreHeader.BitmapCoreHeaderSize , BitmapCoreHeader.Os22XBitmapHeaderSize , BitmapCoreHeader.Os22XBitmapHeaderFullSize , BitmapCoreHeader.BitmapInfoHeaderSize , BitmapCoreHeader.BitmapInfoHeaderSizeV2 , BitmapCoreHeader.BitmapInfoHeaderSizeV3 , BitmapCoreHeader.BitmapInfoHeaderSizeV4 , BitmapCoreHeader.BitmapInfoHeaderSizeV5 , BitmapCoreHeader.HeaderSize , BitmapCoreHeader.BitmapWidth , BitmapCoreHeader.BitmapHeight , BitmapCoreHeader.BitmapPlanes , BitmapCoreHeader.BitsPerPixel , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Properties

AlphaMask

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

public int AlphaMask
   {
      get;
      set;
   }

Property Value

int

BlueMask

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

public int BlueMask
{
    get;
    set;
}

Property Value

int

CSType

Gets or sets the color space of the DIB.

public int CSType
   {
      get;
      set;
   }

Property Value

int

Endpoints

Gets or sets the CoordinatesTriple class.

public CieCoordinatesTriple Endpoints
   {
      get;
      set;
   }

Property Value

CieCoordinatesTriple

GammaBlue

Gets or sets the gamma blue.

public int GammaBlue
   {
      get;
      set;
   }

Property Value

int

GammaGreen

Gets or sets the gamma green.

public int GammaGreen
   {
      get;
      set;
   }

Property Value

int

GammaRed

Gets or sets the gamma red.

public int GammaRed
{
    get
    {
    }
    set
    {
    }
}

Property Value

int

GreenMask

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

public int GreenMask
   {
      get;
      set;
   }

Property Value

int

RedMask

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

public int RedMask
{
    get;
    set;
}

Property Value

int

 English