Class TBGRAImageReader
Unit
Declaration
type TBGRAImageReader = class(TFPCustomImageReader)
Description
Bitmap reader with additional features
Hierarchy
- TFPCustomImageReader
- TBGRAImageReader
Overview
Methods
function GetBitmapDraft(AStream: TStream; AMaxWidth, AMaxHeight: integer; out AOriginalWidth,AOriginalHeight: integer): TBGRACustomBitmap; virtual; abstract; |
|
function GetQuickInfo(AStream: TStream): TQuickImageInfo; virtual; abstract; |
Description
Methods
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) |
function GetQuickInfo(AStream: TStream): TQuickImageInfo; virtual; abstract; |
|
Return bitmap information (size, bit depth) |