Registry / other / tiny-skia

tiny-skia

JSON →
library0.12.0rscratesunverified

A tiny subset of the Skia graphics library ported to Rust for 2D rendering.

# Cargo.toml [dependencies] tiny-skia = "0.12.0"
INSTALL
IMPORT
SIG · TINY-SKIA
T
tiny-skia
otherrustv0.12.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Pixmap
✓ use tiny_skia::Pixmap;

Creates a 100x100 black pixmap and saves it as PNG.

use tiny_skia::Pixmap; fn main() { let mut pixmap = Pixmap::new(100, 100).unwrap(); pixmap.fill(tiny_skia::Color::BLACK); pixmap.save_png("output.png").unwrap(); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.12.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
19 hits · last 30 days
node
18
Resources
tiny-skia — cargo add tiny-skia · libregistry