Commits
2026-08-26
feat(image-shim): the gpui-only surface, behind a cargo featureAhmet Kaan Gümüş · c6f0f87
feat(image-shim): the gpui-only surface, behind a cargo feature gpui consumes half an image crate this shim never needed: Frame, Delay, AnimationDecoder, GifDecoder, WebPDecoder, guess_format, load_from_memory_with_format, ImageBuffer, and the Gif/Bmp/Tiff format names. None of it belongs to still-image decoding, so it lives behind a `gpui` feature the way chrono keeps its serde impls behind one -- a build that does not draw windows compiles none of it, and the default surface is unchanged. Served by ec_image: the animation paths go through decode_animation, and WebPDecoder::has_animation answers from webp::is_animated. set_background_color accepts only a fully transparent colour, which is what gpui asks for and what the frames are composited onto.
2026-08-19
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.