Registry / other / ico
library0.5.0rscratesunverified

A library for encoding/decoding ICO image files.

# Cargo.toml [dependencies] ico = "0.5.0"
INSTALL
IMPORT
SIG · ICO
I
ico
otherrustv0.5.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

IconDir
use ico::IconDir;

Read an ICO file and print the number of entries.

use ico::IconDir; use std::fs::File; fn main() -> Result<(), Box<dyn std::error::Error>> { let file = File::open("icon.ico")?; let dir = IconDir::read(file)?; println!("Entries: {}", dir.entries().len()); Ok(()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.5.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Meta
1
Amazon
1
Resources
ico — cargo add ico · libregistry