---
title: "rmagick 7-3-0 Breaking Changes on RubyGems | Since.dev"
description: "What each rmagick release removed, renamed or changed: 30 breaking changes in 8 versions on RubyGems, each with its source."
canonical_url: https://since.dev/packages/gem/rmagick
last_updated: 2026-12-04
---

# rmagick breaking changes

rmagick 7-3-0 (May 2, 2026) is its newest release with breaking changes, 9 of them. The first: Behavior changed Font.to_s. Every breaking API change we have recorded in rmagick on RubyGems: 30 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.3.1`. [Source repository](https://github.com/rmagick/rmagick)

Its 7-0-0 release drops [Ruby 3.1](https://since.dev/calendar/ruby/3.1.md). [Ruby end of life dates](https://since.dev/calendar/ruby.md).

- From [7-0-0](#v-7-0-0) to [7-3-0](#v-7-3-0): 28 breaking changes in 7 versions.

## rmagick 7-3-0 breaking changes

rmagick 7-3-0, released May 2, 2026: 9 breaking changes.

- **Behavior changed** `Font.to_s`  

Font#to_s now raises TypeError for a weight that is not a number or a style or stretch of the wrong class, and ArgumentError for a negative weight. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-3-0)
- **Behavior changed** `Image.background_color`  

For a CMYK image, these color methods now return the color name in sRGB instead of a hex name that could not be parsed. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-3-0)
- **Behavior changed** `Image.chromaticity=`  

Image#chromaticity= now raises TypeError when a Chromaticity member is not a Primary, such as a Hash. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-3-0)
- **Behavior changed** `Image.freeze`  

Image#freeze and KernelInfo#freeze now raise RuntimeError while a call is changing the object. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-3-0)
- **Behavior changed** `Image.get_pixels`  

Image#get_pixels now raises RangeError for a negative x or y instead of returning virtual pixels outside the image. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-3-0)
- **Behavior changed** `Image.Info`  

With ImageMagick 7, color attributes of Image::Info name a cmyk() color by its sRGB value instead of reading its CMYK values as RGB. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-3-0)
- **Behavior changed** `Image.paint_transparent`  

Image#paint_transparent now raises ArgumentError for a negative fuzz value. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-3-0)
- **Behavior changed** `Pixel.<=>`  

Pixel comparison and hashing now include the black channel, so CMYK pixels differing only in black compare as different. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-3-0)
- **Behavior changed** `Pixel.from_color`  

With ImageMagick 7, a cmyk() color name converts to RGB as on ImageMagick 6, so the black of the resulting pixel is 0. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-3-0)

## rmagick 7-2-0 breaking changes

rmagick 7-2-0, released May 2, 2026: 4 breaking changes.

- **Behavior changed** `Image.fx`  

Image#fx raises ArgumentError for expressions beginning with '@' or containing %\[fx:@...\] style escapes. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-2-0)
- **Behavior changed** `Image.to_color`  

Image#to_color now returns colors using the image depth and alpha, so output strings differ for 8-bit images without alpha. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-2-0)
- **Behavior changed** `Image.write`  

Images used by a running call raise RuntimeError when accessed from another fiber instead of waiting. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-2-0)
- **Behavior changed** `Pixel.new`  

With ImageMagick 7, Pixel.new treats the fourth argument as opacity, so Pixel.new(0, 0, 0, 0) is opaque. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-2-0)

## rmagick 7-1-6 breaking changes

rmagick 7-1-6, released May 2, 2026: 1 breaking change.

- **Behavior changed** `KernelInfo.new`  

A kernel string starting with '@' now raises ArgumentError instead of reading that file. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-6)

## rmagick 7-1-5 breaking changes

rmagick 7-1-5, released May 2, 2026: 3 breaking changes.

- **Behavior changed** `Image.profile!`  

Image#profile! raises ArgumentError for profile names outside ImageMagick's META coder formats. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-5)
- **Behavior changed** `Info.caption=`  

Info#caption=, #comment=, #label= and Info#\[\]= raise ArgumentError for values starting with '@'. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-5)
- **Behavior changed** `Montage.title=`  

Montage#title= raises ArgumentError for values starting with '@'. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-5)

## rmagick 7-1-4 breaking changes

rmagick 7-1-4, released May 2, 2026: 4 breaking changes.

- **Behavior changed** `Draw.pattern`  

Opacity values that are not plain numbers from 0% to 100% now raise ArgumentError. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-4)
- **Behavior changed** `Image.dispatch`  

Image#dispatch raises ArgumentError when the map contains a NUL byte. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-4)
- **Behavior changed** `Image.export_pixels_to_str`  

Image#export_pixels_to_str with Magick::LongPixel returns unsigned int sized data; Image#import_pixels takes a buffer of that size. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-4)
- **Behavior changed** `Image.polaroid`  

Image#polaroid raises ArgumentError for a Caption property starting with '@'. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-4)

## rmagick 7-1-0 breaking changes

rmagick 7-1-0, released May 2, 2026: 6 breaking changes.

- **Behavior changed** `Draw.annotate`  

Text passed to Draw#annotate and Draw#get_type_metrics is drawn as written; build interpolated text in Ruby instead. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-0)
- **Behavior changed** `Draw.clip_path`  

Draw#clip_path and Draw#encoding quote their argument; only Draw#inspect output differs. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-0)
- **Behavior changed** `Draw.get_type_metrics`  

Text is measured as written, not with % escapes expanded. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-0)
- **Behavior changed** `Draw.text`  

Text containing a backslash is drawn as written rather than mangled. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-0)
- **Behavior changed** `Magick.Image.write`  

Pathnames containing a NUL byte now raise ArgumentError instead of being truncated. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-0)
- **Signature changed** `RVG.Path`  

canvas.path raises ArgumentError for path data with characters outside the SVG path grammar. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-1-0)

## Older versions

2 older versions.

### rmagick 7-0-1 breaking changes

rmagick 7-0-1, released May 2, 2026: 1 breaking change.

- **Removed**  

Installing on JRuby now fails explicitly. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-0-1)

### rmagick 7-0-0 breaking changes

rmagick 7-0-0, released May 2, 2026: 2 breaking changes.

- **Removed**  

RMagick 7.0.0 no-longer supports Ruby 3.1 and older; upgrade Ruby before updating. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-0-0)
- **Removed**  

RMagick 7.0.0 no longer supports ImageMagick 6.8.x or 7.0.x; install a newer ImageMagick. [github.com](https://github.com/rmagick/rmagick/releases/tag/RMagick%5F7-0-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.
