ImageEn, unit iexBitmaps

TIEFileFormatInfo


Declarations

TIEFileFormatInfo = class
    FileType       : TIOFileType;
    FullName       : string;
    Extensions     :  string;
    InternalFormat : boolean;
    ReadFunction   : TIEReadImageStream;
    WriteFunction  : TIEWriteImageStream;
    TryFunction    : TIETryImageStream;
    CountFunction  : TIECountImageStream;

    property SuitableExtension : string;
end;


Description

Value Description
FileType The file type class, e.g. ioJPEG
FullName A description of the file type, e.g. 'JPEG Bitmap'
Extensions All extensions of this format WITHOUT the period, e.g. 'jpg;jpeg;jpe'
SuitableExtension A single extension that is suitable for this format WITHOUT the period, e.g. 'jpeg' (Read-only property)
InternalFormat True for native ImageEn formats, false for custom formats
ReadFunction The function used for reading this file type (nil if it cannot be read)
WriteFunction The function used for saving this file type (nil if it is read-only)
TryFunction The function used to determine if a file is of this type (used only when ImageEn is checking for the image type without considering its file extension)
CountFunction The function used to return how many frames there are in a multi-frame image format like GIF or TIFF (can be nil for formats with only a single frame, like bitmaps). Note: Function reads from current stream position and will reset to this after calling