Skip to content

4.x - #454

Merged
ADmad merged 15 commits into
masterfrom
4.x
May 30, 2026
Merged

4.x#454
ADmad merged 15 commits into
masterfrom
4.x

Conversation

@ADmad

@ADmad ADmad commented May 30, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

olivervogel and others added 15 commits March 28, 2026 10:16
Throw an exception if an invalid format is provided.
Intervention Image v4's InsertModifier expects transparency as a float
in the 0-1 range, but getAlpha() returns an int in the 0-100 range.
Normalize at the call site in run() to maintain BC for getAlpha().

Closes #449

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Adds a regression test that asserts the alpha value passed to
Image::insert() is in the 0-1 range expected by Intervention Image v4.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Fix: normalize watermark alpha to 0-1 range for Intervention Image v4
@ADmad ADmad added this to the 4.x milestone May 30, 2026
@ADmad
ADmad merged commit ac47024 into master May 30, 2026
6 checks passed
@ADmad
ADmad deleted the 4.x branch May 30, 2026 04:33
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.

3 participants