vectorcraft/crates/engine
fastmikey99 f767403673 Crop Image: trim an image to its pixels that aren't fully transparent
object.cropImage {trim: true} cuts the selected image to the box of its pixels
with any alpha, copying them as they are (no re-render, no resampling) and
placing them where they were. An image with nothing to cut is left as it is
and isn't an error (trimmed: false), so a script can trim every image it
opens. Print-ready PNGs usually carry transparent padding; with this, Fit to
Artwork Bounds can size to the art.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-09 17:24:04 +13:00
..
src Crop Image: trim an image to its pixels that aren't fully transparent 2026-10-09 17:24:04 +13:00
tests Merge pull request #644 from dotCooCoo/feat/ase-import 2026-10-09 08:50:50 +07:00
Cargo.toml Fix #121: sandboxed WebAssembly plug-ins: object filters and live effects 2026-10-06 00:19:41 +07:00