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.
21 lines
658 B
TOML
21 lines
658 B
TOML
[package]
|
|
name = "makepad-zune-qoi"
|
|
version = "0.5.2"
|
|
rust-version = "1.87.0"
|
|
authors = ["caleb <etemesicaleb@gmail.com>"]
|
|
edition = "2021"
|
|
repository = "https://github.com/etemesi254/zune-image/tree/dev/crates/zune-qoi"
|
|
license = "MIT OR Apache-2.0 OR Zlib"
|
|
keywords = ["qoi", "qoi-decoder", "decoder", "qoi-encoder", "encoder"]
|
|
categories = ["multimedia::images"]
|
|
exclude = ["fuzz/*"]
|
|
description = "Quite Ok Image (QOI) decoder and encoder part of the zune-image family"
|
|
|
|
|
|
[features]
|
|
log = ["makepad-zune-core/log"]
|
|
std = ["makepad-zune-core/std"]
|
|
default = ["std", "log"]
|
|
[dependencies]
|
|
makepad-zune-core = { path = "../zune-core", version = "^0.5.1" }
|
|
|