CrImage::ICO::IconEntry
Inherits Struct / Value / Object
Represents a single icon entry in an ICO file
Each ICO file contains a directory of entries describing the images stored within. This struct holds the metadata for one such entry.
Constructors
new(width : Int32, height : Int32, color_count : Int32, planes : Int32, bit_count : Int32, size : Int32, offset : Int32)
SourceInstance methods
actual_height
Returns the actual height in pixels
In ICO format, a value of 0 represents 256 pixels.
actual_width
Returns the actual width in pixels
In ICO format, a value of 0 represents 256 pixels.
bit_count
Sourcebit_count=(bit_count : Int32)
Sourcecolor_count
Sourcecolor_count=(color_count : Int32)
Sourceheight
Sourceheight=(height : Int32)
Sourceoffset
Sourceoffset=(offset : Int32)
Sourcepixel_count
Returns total pixel count for size comparison
Used internally to find largest/smallest icons.
planes
Sourceplanes=(planes : Int32)
Sourcesize
Sourcesize=(size : Int32)
Sourcewidth
Sourcewidth=(width : Int32)
Source