makepad/libs/zune/zune-bmp/Cargo.toml
Kevin Boos 850edc8ca6
Image support: add bmp/qoi,ico, webp, SVG in Image widget, 16-bit png (#1108)
Generally, this commit makes improvements to image decoding and rendering.

Added a bunch of functions for image discovery / metadata gathering:
`decode_image_from_data()`, `image_size_by_data()`, `looks_like_svg()`

Added more `Image[Ref]` functions for other image formats:
`ImageRef::load_{bmp,qoi,ico,gif,webp,svg}_from_data()`, plus a nice
convenience fn for auto-detec+load: `load_image_from_data()`.

Added cheap, lazily-init'd support for SVGs within the `Image` widget.

Fixed some issues with aspect ratio being clobbered during image rotation.
2026-06-09 00:09:29 +02:00

25 lines
700 B
TOML

[package]
name = "makepad-zune-bmp"
version = "0.5.2"
rust-version = "1.87.0"
edition = "2021"
authors = ["caleb <etemesicaleb@gmail.com>"]
repository = "https://github.com/etemesi254/zune-image/tree/dev/crates/zune-bmp"
license = "MIT OR Apache-2.0 OR Zlib"
keywords = ["bmp", "bmp-decoder", "decoder"]
categories = ["multimedia::images"]
exclude = ["fuzz/*"]
description = "A fast BMP decoder"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
log = ["makepad-zune-core/log"]
std = ["makepad-zune-core/std"]
rgb_inverse = []
default = ["std"]
[dependencies]
makepad-zune-core = { version = "^0.5.1", path = "../zune-core" }
log = "0.4"