---
title: "epaint 0.38.0 Breaking Changes on crates.io | Since.dev"
description: "What each epaint release removed, renamed or changed: 27 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/epaint
last_updated: 2026-12-04
---

# epaint breaking changes

epaint 0.38.0 (December 1, 2026) is its newest release with breaking changes, 27 of them. The first: Removed ColorImage. Every breaking API change we have recorded in epaint on crates.io: 27 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.38.0`, released December 1, 2026. [Source repository](https://github.com/emilk/egui/tree/main/crates/epaint)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

## epaint 0.38.0 breaking changes

epaint 0.38.0, released December 1, 2026: 27 breaking changes.

- **Removed** `ColorImage`  

The internal fields of ColorImage are no longer public, so code that reads or writes them directly must change. [github.com](https://github.com/emilk/egui/releases/tag/0.38.0)
- **Removed** `epaint::textures::TextureMeta::size`  

epaint::textures::TextureMeta::size was removed in epaint 0.38.0 [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Renamed** `epaint::Fonts::font_image_size`  

Use epaint::Fonts::font_image_resolution instead. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Renamed** `epaint::FontsView::font_image_size`  

Use epaint::FontsView::font_image_resolution instead. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Renamed** `epaint::text::Fonts::font_image_size`  

Use epaint::text::Fonts::font_image_resolution instead. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Renamed** `epaint::text::FontsView::font_image_size`  

Use epaint::text::FontsView::font_image_resolution instead. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Renamed** `epaint::TextureAtlas::size`  

Use epaint::TextureAtlas::resolution instead. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::ColorImage::filled`  

Was fn filled(size: \[usize; 2\], color: Color32) -> Self; now fn filled(resolution: \[usize; 2\], color: Color32) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::ColorImage::from_gray`  

Was fn from_gray(size: \[usize; 2\], gray: &\[u8\]) -> Self; now fn from_gray(resolution: \[usize; 2\], gray: &\[u8\]) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::ColorImage::from_gray_iter`  

Was fn from_gray_iter(size: \[usize; 2\], gray_iter: impl Iterator\<Item = u8>) -> Self; now fn from_gray_iter(resolution: \[usize; 2\], gray_iter: impl Iterator\<Item = u8>) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::ColorImage::from_rgb`  

Was fn from_rgb(size: \[usize; 2\], rgb: &\[u8\]) -> Self; now fn from_rgb(resolution: \[usize; 2\], rgb: &\[u8\]) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::ColorImage::from_rgba_premultiplied`  

Was fn from_rgba_premultiplied(size: \[usize; 2\], rgba: &\[u8\]) -> Self; now fn from_rgba_premultiplied(resolution: \[usize; 2\], rgba: &\[u8\]) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::ColorImage::from_rgba_unmultiplied`  

Was fn from_rgba_unmultiplied(size: \[usize; 2\], rgba: &\[u8\]) -> Self; now fn from_rgba_unmultiplied(resolution: \[usize; 2\], rgba: &\[u8\]) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::ColorImage::new`  

Was fn new(size: \[usize; 2\], pixels: Vec\<Color32>) -> Self; now fn new(resolution: \[usize; 2\], pixels: Vec\<Color32>) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::ColorImage::pixels`  

Was pixels: Vec\<Color32>; now fn pixels(&self) -> &\[Color32\]. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::ColorImage::size`  

Was size: \[usize; 2\]; now fn size(&self) -> \[usize; 2\]. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::ColorImage::source_size`  

Was source_size: Vec2; now fn source_size(&self) -> Vec2. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::image::ColorImage::filled`  

Was fn filled(size: \[usize; 2\], color: Color32) -> Self; now fn filled(resolution: \[usize; 2\], color: Color32) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::image::ColorImage::from_gray`  

Was fn from_gray(size: \[usize; 2\], gray: &\[u8\]) -> Self; now fn from_gray(resolution: \[usize; 2\], gray: &\[u8\]) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::image::ColorImage::from_gray_iter`  

Was fn from_gray_iter(size: \[usize; 2\], gray_iter: impl Iterator\<Item = u8>) -> Self; now fn from_gray_iter(resolution: \[usize; 2\], gray_iter: impl Iterator\<Item = u8>) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::image::ColorImage::from_rgb`  

Was fn from_rgb(size: \[usize; 2\], rgb: &\[u8\]) -> Self; now fn from_rgb(resolution: \[usize; 2\], rgb: &\[u8\]) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::image::ColorImage::from_rgba_premultiplied`  

Was fn from_rgba_premultiplied(size: \[usize; 2\], rgba: &\[u8\]) -> Self; now fn from_rgba_premultiplied(resolution: \[usize; 2\], rgba: &\[u8\]) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::image::ColorImage::from_rgba_unmultiplied`  

Was fn from_rgba_unmultiplied(size: \[usize; 2\], rgba: &\[u8\]) -> Self; now fn from_rgba_unmultiplied(resolution: \[usize; 2\], rgba: &\[u8\]) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::image::ColorImage::new`  

Was fn new(size: \[usize; 2\], pixels: Vec\<Color32>) -> Self; now fn new(resolution: \[usize; 2\], pixels: Vec\<Color32>) -> Self. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::image::ColorImage::pixels`  

Was pixels: Vec\<Color32>; now fn pixels(&self) -> &\[Color32\]. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::image::ColorImage::size`  

Was size: \[usize; 2\]; now fn size(&self) -> \[usize; 2\]. [crates.io](https://crates.io/crates/epaint/0.38.0)
- **Signature changed** `epaint::image::ColorImage::source_size`  

Was source_size: Vec2; now fn source_size(&self) -> Vec2. [crates.io](https://crates.io/crates/epaint/0.38.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
