Skip to content

Port fix for libgd bug 276 #17250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Port fix for libgd bug 276 #17250

wants to merge 1 commit into from

Conversation

cmb69
Copy link
Member

@cmb69 cmb69 commented Dec 23, 2024

The issue that BMP RLE occasionally swallowed some pixels[1] had been fixed long ago in libgd, but apparently it has been overlooked to port it to our bundled libgd.

We also introduce the test helper test_image_equals_image() which compares in-memory images for equality.

[1] libgd/libgd#276

The issue that BMP RLE occasionally swallowed some pixels[1] had been
fixed long ago in libgd, but apparently it has been overlooked to port
it to our bundled libgd.

We also introduce the test helper `test_image_equals_image()` which
compares in-memory images for equality.

[1] <libgd/libgd#276>
@cmb69 cmb69 closed this in 643a77d Dec 25, 2024
@cmb69 cmb69 deleted the cmb/gd276 branch December 25, 2024 15:31
charmitro pushed a commit to wasix-org/php that referenced this pull request Mar 13, 2025
The issue that BMP RLE occasionally swallowed some pixels[1] had been
fixed long ago in libgd, but apparently it has been overlooked to port
it to our bundled libgd.

We also introduce the test helper `test_image_equals_image()` which
compares in-memory images for equality.

[1] <libgd/libgd#276>

Closes phpGH-17250.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants