Skip to content

INFRA-2457 Upgrade libheif to v1.23.7 - #76

Merged
jtomson merged 1 commit into
masterfrom
libheif-1.23.7
Nov 3, 2026
Merged

jtomson merged 1 commit into
masterfrom
libheif-1.23.7

Conversation

@jtomson

@jtomson jtomson commented Nov 3, 2026

Copy link
Copy Markdown

What this does

Builds libheif v1.23.7 instead of v1.21.2. v1.23.7 is a security release with 14 high-severity fixes (https://github.com/strukturag/libheif/releases/tag/v1.23.7). It still uses x265, and still links the base image's libde265 for 10-bit.

Drops the DarthSim patch. It no longer applies, and libheif now does the job itself: it converts an alpha plane with a different bit depth instead of erroring, and scales an alpha plane of a different size (strukturag/libheif#1673). DarthSim closed his upstream version of the patch in favour of that fix.

Removes the base image's own libheif.so.1.23.6. Before this the image had two libheifs and libheif.so.1 pointed at our older build.

How I tested it

Built natively on amd64. The image has one libheif, libheif.so.1.23.7, loading libde265 from /opt/imgproxy/lib.

Compared against the current release image (1a3fe0b):

  • The PNG, JPEG and HEIC request matrix, including opts06, opts07 and opts08, is byte-identical (45 of 45).
  • 10-bit HEIC input, with and without alpha, decodes byte-identically to PNG, JPEG and dithered output. Same for the 10-bit Main 10 iPhone sample from FRAM-1011.
  • @heic output is pixel-identical; 115 bytes of the file differ.

🤖 Generated with Claude Code

v1.23.7 is a security release with 14 high-severity fixes. Drops the
DarthSim alpha patch, which no longer applies; libheif now converts a
mismatched alpha bit depth itself (strukturag/libheif#1673). Removes the
base image's libheif.so.1.23.6 so only this build is installed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@notion-workspace

Copy link
Copy Markdown

@jtomson
jtomson merged commit 8302e20 into master Nov 3, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant