GraphicsFormats Xojo plugin |
|
RawICOImporter Class
A class to import picture in ICO format to RawBitmap. The class can either import from file or string.
Object
RawICOImporter
class RawICOImporter implements
IRawBitmapReader
Properties
CurrentDirectoryIndex | Returns index of last read bitmap from the ICO file. |
Gamma | Gamma value that was read from the image. (If the image read from the ICO file was PNG based) |
LastDirectoryIndex | Returns index of last bitmap in the ICO file. |
LastError | Returns enum error code for last error that occurred. |
ScreenGamma | Sets screen gamma to be used. You can use this property to forces 100% same result on all platforms. Gamma’s only apply if the bitmap read from the ICO file was PNG based. |
Methods
GetLastErrorCode | Same as the LastError property but this one returns it as Integer to full-fill the standard interface. |
OpenFromFile | Opens a ICO Image from a file, reading the first bitmap in the ICO file. |
OpenFromFile | Opens a ICO Image from a file, reading the bitmap by given index from the ICO file. |
OpenFromString | Opens a ICO Image from a ICO formatted string, reading the first bitmap in the ICO file. |
OpenFromString | Opens a ICO Image from a ICO formatted string, reading the bitmap by given index from the ICO file. |
Enumerations
ErrorValues | Enum representing error codes which this class can return. |
Constants
Version = 10.02 | |
Supported Platforms:
macOS Intel 64 bitmacOS Apple SiliconWindows 32 bitWindows 64 bitWindows ARM 64 bitLinux 32 bitLinux 64 bitLinux ARM 32 bitLinux ARM 64 bitiOS