forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 43fe5e7b332cf02bc4b9c26a5bf20e9fdc8ddec1Filtered to shims/image/src/lib.rsClear filter

2026-08-14

feat(image): image shim over ec-imageAhmet Kaan Gümüş · 88de5e3
feat(image): image shim over ec-image

Carries the `image` name and version 0.25.10, covering exactly the surface
edith's *engine* consumes: ImageReader::open / with_guessed_format /
decode / into_dimensions, image::open, DynamicImage with to_rgb8 and its
siblings, and the three 8-bit buffer types with dimensions, get_pixel and
a Deref to the samples. Anything else upstream exposes is absent, so a new
use is a compile error rather than silently different behaviour.

The app crate's two call sites (RgbaImage::from_raw, Frame::new) are
deliberately not covered: they feed gpui::RenderImage, which is typed
against the real `image` crate gpui itself depends on. The swap therefore
cannot be a blanket [patch.crates-io] — the engine takes this crate by
rename, or the app keeps the real one. That constraint is stated in the
crate's own documentation so the replica batch does not rediscover it.