CreateFromBits(Integer,Integer,TRGBColors,Boolean) Constructor
In This Article
Creates a new Smart Image container and populates it with the specified array of pixel data.
#Declaration
Delphi
constructor CreateFromBits(AWidth: Integer; AHeight: Integer; const ABits: TRGBColors; AHasAlphaChannel: Boolean); overload; virtual;
#Parameters
Name | Type | Description |
---|---|---|
AWidth | Integer | The loaded image’s width, in pixels. |
AHeight | Integer | The loaded image’s height, in pixels. |
ABits | TRGBColors | The source array of |
AHas |
Boolean | Specifies if the source array of |
#Remarks
You can call the LoadFromBits procedure to load an array of pixel color data to an existing Smart Image container.
See Also