Christoph M. Becker
Christoph M. Becker
Yes, if this is available, PHP could drop bundled libgd. :)
Related to #358. It seems that our `DEFAULT_FONTPATH` isn't configurable, despite a [comment stating otherwise](https://github.com/libgd/libgd/blob/gd-2.2.4/src/gdft.c#L67-L72).
I still think that libgd should provide this info to clients, because the client usually just includes gd.h, and not the individual headers of the used libraries. And, at least...
Frankly, I'm not sure what info to provide, and whether to add something ar all. But I really don't want [clients to include headers which they would otherwise not](https://github.com/php/php-src/pull/7526/files). Maybe...
Can you please post the _out and _diff images and the log entry?
A new image format every other year – what's wrong with GIF? ;)
Especially if this is about WordPress, I see no urgent need. AFAIK, WordPress does not yet generally support PHP 8.0, and support for new image formats will have to wait...
Another option might be to add `gdImageCreateFromCtx()`.
On further consideration, I don't think that [PHP's `imagecreatefromstring()`](https://www.php.net/imagecreatefromstring) is actually a good idea; detecting an image type is often a bit of guesswork, and wrt. new image formats, it...
Moving this file looks overdue, but I wouldn't do it in a revision (and actually not even in a minor release), so I think we should decide how to handle...