Hi,
I m trying to address an old ticket regarding HEIF support for gd.
Here the PR https://github.com/php/php-src/pull/14504
One of the last bit concerns the imagecreatefromstring support part where I
would need a custom stream handler for this format. Would you mind adding a
dependency like it is done for avif or would you really prefer to handle
this without any external part ?
Thanks.
I m trying to address an old ticket regarding HEIF support for gd.
Here the PR https://github.com/php/php-src/pull/14504
One of the last bit concerns the imagecreatefromstring support part where I
would need a custom stream handler for this format. Would you mind adding a
dependency like it is done for avif or would you really prefer to handle
this without any external part ?
I haven't looked closely into the HEIF format, but would presume that
it's not trivial to get the required information for getimagesize()
and
friends. As such, bundling a small library like libavifinfo is probably
the best we can do, but we should not forget to keep that up to date.
However, I wouldn't know if there is such a library. Bundling the full
libheif is certainly not an option.
Christoph