GraphicsFormats Xojo plugin

RawICOExporter Class

A class to Export RawBitmap to a ICO format. The result can be written to a File or String.

Object
   RawICOExporter

class RawICOExporter implements

IRawBitmapWriter

Properties

GammaGamma value that was read from the image.
LastErrorReturns enum error code for last error that occurred.
ScreenGammaSets screen gamma to be used. You can use this property to forces 100% same result on all platforms.

Methods

AddBitmapUse 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.
GetLastErrorCodeSame as the LastError property but this one returns it as Integer to full-fill the standard interface.
SaveBitmapsToFileSaves one or more bitmaps to a single ICO formatted file. The bitmaps must have been previously added with the AddBitmap method.
SaveBitmapsToStringSaves one or more bitmaps to a single ICO formatted string. The bitmaps must have been previously added with the AddBitmap method.
SaveToFileSaves a single bitmap to a ICO file.
SaveToStringSaves a single bitmap to ICO formatted string.

Enumerations

ErrorValuesEnum representing error codes which this class can return.

Constants

Version = 7.5

Supported Platforms:

  • MacOS X Cocoa 32 bit
  • MacOS X Cocoa 64 bit
  • Windows 32 bit
  • Windows 64 bit
  • Linux 32 bit
  • Linux 64 bit
  • Linux ARM

    Unsupported Platforms:

  • MacOS X Carbon