GraphicsFormats Xojo plugin

RawICOExporter.AddBitmap Method

Use this method when wanting to add more than one bitmap or size into the ICO file, adding them one by one and then call SaveBitmapsToFile or SaveBitmapsToString.

AddBitmap(
   image as RawBitmap,
   usePNG as Boolean)

Parameters

image
The bitmap to be added. This must be RGB color space, and 8 bit per channel bitmap.
usePNG
If set to true then image will be saved in new style PNG within the ICO file. Note that for 256 x 256 then PNG is always forced (by definition of the ICO file-format)

Remarks

See Also

RawICOExporter Class