image breaking changes
Updated December 4, 2026
On this page
Latest version 0.25.10, released March 10, 2026. Source repository
Its 0.25.10 release requires Rust 1.88 or later. Rust end of life dates.
image 0.25.10 breaking changes
- Behavior changed
Hook file extensions are normalized to ascii-lowercase, so hooks registered under different casings may now conflict. Registering every case variant is no longer needed and may cause two hooks to match the same format. github.com - Behavior changed
load_from_memory
Decoding through load_from_memory can now pick up registered format detection hooks, so images may be decoded differently than before. Check code that depends on the previous format detection. github.com - Configuration changed
The package now requires Rust 1.88 or later to build. Projects on older Rust toolchains must upgrade. github.com - Signature changed
image::ImageBuffer::as_flat_samples
Was fn as_flat_samples(&self) -> FlatSamples<&[P::Subpixel]> where Container: AsRef<[P::Subpixel]>,; now fn as_flat_samples(&self) -> FlatSamples<&[P::Subpixel]>. crates.io
image 0.25.9 breaking changes
- Removed
image::codecs::pcx
image::codecs::pcx was removed in image 0.25.9 crates.io - Behavior changed
EXR decoding no longer multi-threads by default; it only does so when the rayon feature is enabled. Code relying on parallel EXR decoding must enable that feature. github.com - Behavior changed
Colormap lookup for TGA images now follows the TGA 2.0 spec, so color-mapped TGA files may decode to different pixel values than before. github.com
image 0.25.8 breaking changes
- Signature changed
image::codecs::bmp::BmpEncoder::encode_with_palette
Was fn encode_with_palette(&mut self, image: &[u8], width: u32, height: u32, c: ExtendedColorType, palette: Option<&[[u8; 3]]>) -> ImageResult<()>; now fn encode_with_palette(&mut self, image: &[u8], width: u32, height: u32, color_type... crates.io - Signature changed
image::codecs::tga::TgaDecoder::new
Was fn new(r: R) -> ImageResult<TgaDecoder<R>>; now fn new(mut r: R) -> ImageResult<TgaDecoder<R>>. crates.io - Signature changed
image::DynamicImage::write_to
Was fn write_to<W: Write + Seek>(&self, w: &mut W, format: ImageFormat) -> ImageResult<()>; now fn write_to<W: Write + Seek>(&self, mut w: W, format: ImageFormat) -> ImageResult<()>. crates.io - Signature changed
image::GenericImageView::pixels
Was fn pixels(&self) -> Pixels<Self> where Self: Sized,; now fn pixels(&self) -> Pixels<'_, Self> where Self: Sized,. crates.io - Signature changed
image::ImageBuffer::enumerate_pixels
Was fn enumerate_pixels(&self) -> EnumeratePixels<P>; now fn enumerate_pixels(&self) -> EnumeratePixels<'_, P>. crates.io - Signature changed
image::ImageBuffer::enumerate_pixels_mut
Was fn enumerate_pixels_mut(&mut self) -> EnumeratePixelsMut<P>; now fn enumerate_pixels_mut(&mut self) -> EnumeratePixelsMut<'_, P>. crates.io - Signature changed
image::ImageBuffer::enumerate_rows
Was fn enumerate_rows(&self) -> EnumerateRows<P>; now fn enumerate_rows(&self) -> EnumerateRows<'_, P>. crates.io - Signature changed
image::ImageBuffer::enumerate_rows_mut
Was fn enumerate_rows_mut(&mut self) -> EnumerateRowsMut<P>; now fn enumerate_rows_mut(&mut self) -> EnumerateRowsMut<'_, P>. crates.io - Signature changed
image::ImageBuffer::par_enumerate_pixels
Was fn par_enumerate_pixels(&self) -> EnumeratePixelsPar<P>; now fn par_enumerate_pixels(&self) -> EnumeratePixelsPar<'_, P>. crates.io - Signature changed
image::ImageBuffer::par_enumerate_pixels_mut
Was fn par_enumerate_pixels_mut(&mut self) -> EnumeratePixelsMutPar<P>; now fn par_enumerate_pixels_mut(&mut self) -> EnumeratePixelsMutPar<'_, P>. crates.io
And 12 more in this version. Sign up to see every change
image 0.25.7 breaking changes
- Behavior changed
Encoders now return one unified error when the color type is unsupported, so code that matches on the old error variants may need updating. github.com
image 0.25.2 breaking changes
- Removed
image::io::Limits::check_dimensions
image::io::Limits::check_dimensions was removed in image 0.25.2 crates.io - Removed
image::io::Limits::check_support
image::io::Limits::check_support was removed in image 0.25.2 crates.io - Removed
image::io::Limits::free
image::io::Limits::free was removed in image 0.25.2 crates.io - Removed
image::io::Limits::free_usize
image::io::Limits::free_usize was removed in image 0.25.2 crates.io - Removed
image::io::Limits::max_alloc
image::io::Limits::max_alloc was removed in image 0.25.2 crates.io - Removed
image::io::Limits::max_image_height
image::io::Limits::max_image_height was removed in image 0.25.2 crates.io - Removed
image::io::Limits::max_image_width
image::io::Limits::max_image_width was removed in image 0.25.2 crates.io - Removed
image::io::Limits::no_limits
image::io::Limits::no_limits was removed in image 0.25.2 crates.io - Removed
image::io::Limits::reserve
image::io::Limits::reserve was removed in image 0.25.2 crates.io - Removed
image::io::Limits::reserve_buffer
image::io::Limits::reserve_buffer was removed in image 0.25.2 crates.io
And 20 more in this version. Sign up to see every change
image 0.25.1 breaking changes
- Behavior changed
Files with other extensions are no longer treated as farbfeld images. Code that relies on another extension for farbfeld files must rename them to ".ff". github.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
image 0.25.0 breaking changes
- Removed
image::codecs::dxt
image::codecs::dxt was removed in image 0.25.0 crates.io - Removed
image::codecs::gif::GifDecoder::with_limits
image::codecs::gif::GifDecoder::with_limits was removed in image 0.25.0 crates.io
And 74 more in this version.
image 0.24.0 breaking changes
- Removed
Bgra*
The Bgra* buffer variants are removed; convert to a supported pixel format first. github.com - Removed
image::avif
Use codecs::avif instead. crates.io
And 168 more in this version.
image 0.23.0 breaking changes
- Removed
Public converter items such as error conversions were removed from some decoder crate types. Code depending on them will break. github.com - Removed
image::BGR
image::BGR was removed in image 0.23.0 crates.io
And 89 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.