GFL_FILE_INFORMATION

GFL SDK

GFL_FILE_INFORMATION

The GFL_FILE_INFORMATION structure contains informations about a picture's file.

typedef struct (
  GFL_BITMAP_TYPE Type,  
  GFL_ORIGIN Origin,  
  GFL_INT32 Width,  
  GFL_INT32 Height,  
  GFL_INT32 FormatIndex,  
  char FormatName[8],  
  char Description[64],  
  GFL_UINT16 Xdpi,  
  GFL_UINT16 Ydpi,  
  GFL_UINT16 BitsPerComponent,  
  GFL_UINT16 ComponentsPerPixel,  
  GFL_INT32 NumberOfImages,  
  GFL_UINT32 FileSize,  
  GFL_COLORMODEL ColorModel,  
  GFL_COMPRESSION Compression,  
  char CompressionDescription[64]
} GFL_LOAD_PARAMS

Members

    Type
    Not used
    Origin
    Origin of the picture.
    GFL_TOP_LEFT0Top left (default)
    GFL_BOTTOM_LEFT2Bottom left
    GFL_TOP_RIGHT1Top right
    GFL_BOTTOM_RIGHT3Bottom right
    Width
    Width in pixels of the picture.
    Height
    Height in pixels of the picture.
    FormatIndex
    Index of picture's format.
    FormatName
    Name of picture's format.
    Description
    File label.
    Xdpi
    Pixels per inch in the X axis.
    Ydpi
    Pixels per inch in the Y axis.
    BitsPerComponent
    Bits per component, can be 1, 8, 16
    ComponentsPerPixel
    Component per pixel, can be 1, 3 or 4
    NumberOfImages
    Nomber of picture in the file.
    FileSize
    Size of the file.
    ColorModel
    Color model.
    GFL_CM_RGB0Red-Green-Blue
    GFL_CM_GREY1Greyscale
    GFL_CM_CMY2Cyan-Magenta-Yellow
    GFL_CM_CMYK3Cyan-Magenta-Yellow-Black
    GFL_CM_YCBCR4YCbCr
    GFL_CM_YUV165YUV 16bits
    GFL_CM_LAB6Lab
    GFL_CM_LOGLUV7Log Luv
    GFL_CM_LOGL8Log L
    Compression
    GFL_NO_COMPRESSION0No compression
    GFL_RLE1Packbits
    GFL_LZW2LZW
    GFL_JPEG3JPEG
    GFL_ZIP4ZIP
    GFL_SGI_RLE5GSI Packbits
    GFL_CCITT_RLE6CCITT RLE
    GFL_CCITT_FAX37Fax Group 3
    GFL_CCITT_FAX3_2D8Fax Group 3-2D
    GFL_CCITT_FAX49Fax Group 4
    GFL_WAVELET10Wavelette
    GFL_UNKNOWN_COMPRESSION255Other compression
    CompressionDescription
    Pointer to a buffer that contains the full compression description.

Remarks

    gflFreeFileInformation must be used for freeing the allocated memory.

See also