Class TBGRAImageReader

Unit

Declaration

type TBGRAImageReader = class(TFPCustomImageReader)

Description

Bitmap reader with additional features

Hierarchy

Overview

Methods

Public function GetBitmapDraft(AStream: TStream; AMaxWidth, AMaxHeight: integer; out AOriginalWidth,AOriginalHeight: integer): TBGRACustomBitmap; virtual; abstract;
Public function GetQuickInfo(AStream: TStream): TQuickImageInfo; virtual; abstract;

Description

Methods

Public function GetBitmapDraft(AStream: TStream; AMaxWidth, AMaxHeight: integer; out AOriginalWidth,AOriginalHeight: integer): TBGRACustomBitmap; virtual; abstract;

Return a draft of the bitmap, the ratio may change compared to the original width and height (useful to make thumbnails)

Public function GetQuickInfo(AStream: TStream): TQuickImageInfo; virtual; abstract;

Return bitmap information (size, bit depth)