CrImage::ICO::Reader
Inherits Reference / Object
Reads ICO (Windows Icon) files
Supports both BMP and PNG encoded icons within ICO containers. Handles multi-resolution files and various bit depths (1, 4, 8, 24, 32-bit).
Class methods
Reads ICO file and returns the largest icon
This is the standard read method that returns a single image. If the ICO contains multiple sizes, the largest is returned.
Reads ICO file and returns all icons with metadata
Use this when you need access to all resolutions in the file.
Reads configuration without decoding full image
Returns metadata for the largest icon. Much faster than full read when you only need to check dimensions or color model.