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.
25 lines
700 B
TOML
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"
|