TdxSmartImageCodec.Load(TRGBColors,TAlphaFormat,Integer,Integer,TdxSmartImageCustomHandle) Method
Loads an image from an array of pixel data.
Declaration
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. |
AAlphaFormat | TAlphaFormat | Specifies how the function interprets reserved color bytes in the source array passed as the The TBitmap.AlphaFormat property works similar to the |
AWidth | Integer | The width of the loaded image, in pixels. |
AHeight | Integer | The height of the loaded image, in pixels. |
AHandle | TdxSmartImageCustomHandle | The handle to the resulting image. |
Returns
Type | Description |
---|---|
Boolean |
|
See Also