3 releases (breaking)

0.3.0 Dec 26, 2022
0.2.0 Nov 8, 2022
0.1.0 Mar 3, 2018

#129 in Images

Download history 27746/week @ 2023-12-11 31452/week @ 2023-12-18 15198/week @ 2023-12-25 18807/week @ 2024-01-01 22442/week @ 2024-01-08 22739/week @ 2024-01-15 26111/week @ 2024-01-22 24365/week @ 2024-01-29 23991/week @ 2024-02-05 28035/week @ 2024-02-12 26571/week @ 2024-02-19 38212/week @ 2024-02-26 30074/week @ 2024-03-04 33872/week @ 2024-03-11 31571/week @ 2024-03-18 36020/week @ 2024-03-25

134,019 downloads per month
Used in 126 crates (22 directly)

MIT license

70KB
1K SLoC

rust-ico

Build Status Crates.io Documentation

A pure Rust library for encoding/decoding ICO image files.

Overview

An ICO file (.ico) stores a collection of small images of different sizes and color depths. Individial images within the file can be encoded in either BMP or PNG format. ICO files are typically used for website favicons and for Windows application icons.

CUR files (.cur), which store Windows cursor images, use the same file format as ICO files, except that each image also comes with (x, y) hotspot coordinates that determines where on the image the user is pointing. This libary supports both file types.

License

rust-ico is made available under the MIT License.

Dependencies

~1MB
~22K SLoC