TdxSmartImageCodec.Load(TRGBColors,TAlphaFormat,Integer,Integer,TdxSmartImageCustomHandle) Method
In This Article
Loads an image from an array of pixel data.
#Declaration
Delphi
class function Load(const ABits: TRGBColors; AAlphaFormat: TAlphaFormat; AWidth: Integer; AHeight: Integer; out AHandle: TdxSmartImageCustomHandle): Boolean; overload; virtual;
#Parameters
Name | Type | Description |
---|---|---|
ABits | TRGBColors | The source pixel data array. |
AAlpha |
TAlpha |
Specifies how the function interprets reserved color bytes in the source array passed as the The TBitmap. |
AWidth | Integer | The width of the loaded image, in pixels. |
AHeight | Integer | The height of the loaded image, in pixels. |
AHandle | Tdx |
The handle to the resulting image. |
#Returns
Type | Description |
---|---|
Boolean |
|
See Also