Skip to content

ext/gd: backport optional PNG support to 8.3 #17894

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 3 commits into from

Conversation

orlitzky
Copy link
Contributor

This was merged a long time ago but I didn't know the rules back then and targeted 8.4. It's a bug fix so I think it belongs.

I've been patching until now but every time I upgrade 8.3.x our CI yells at me for having a 40KiB patch.

Three of our gd tests could be skipped with a message about requiring
bundled GD, but those tests don't actually require bundled GD. We
update the messages to mention the specific functions that are
required.
The bundled libgd always has PNG support, but an external one may not.
Following 59ec80c, the imagerotate() function is always available. We
may therefore remove its function_exists() checks without harm.
Copy link
Member

@devnexen devnexen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no objections from me

@devnexen devnexen closed this in 065b4ec Feb 23, 2025
@orlitzky
Copy link
Contributor Author

Thank you!

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