ico-builder 0.2.0

Create multi-size ICO files from separate images
Documentation
  • Coverage
  • 47.62%
    10 out of 21 items documented1 out of 10 items with examples
  • Size
  • Source code size: 62.21 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 4.25 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 27s Average build duration of successful builds.
  • all releases: 24s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Repository
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • tautropfli

ICO Builder

A crate for creating multi-size ICO files from separate images. The images are automatically resized to the specified sizes.

Usage

This example creates an ICO with the bare minimum icon sizes: 16x16, 24x24, 32x32, 48x48, 256x256. For each size, the closest source file is chosen and resized as needed.

use ico_builder::IcoBuilder;

IcoBuilder::default()
  .add_source_file("app-icon-32x32.png")
  .add_source_file("app-icon-256x256.png")
  .build_file("app-icon.ico");

Docs

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.