You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Neither gdImageWebpCtx() nor gdImageAvifCtx() care about .saveAlphaFlag, but always save the full alpha channel, while gdImagePngCtxEx() heeds that flag.
For details see php/php-src#10055. I can port that PR to libgd, but want to be sure that we actually classify this as bug, and if so which branch the fix should target. Given the lack of documentation about the alpha flag, and that WebP and AVIF behave this way since support has been introduced, we probably don't want to fix this in a revision. As such I suggest to fix it in the next minor (if there'll be a 2.4), or major (3.0).
The text was updated successfully, but these errors were encountered:
Neither
gdImageWebpCtx()
norgdImageAvifCtx()
care about.saveAlphaFlag
, but always save the full alpha channel, whilegdImagePngCtxEx()
heeds that flag.For details see php/php-src#10055. I can port that PR to libgd, but want to be sure that we actually classify this as bug, and if so which branch the fix should target. Given the lack of documentation about the alpha flag, and that WebP and AVIF behave this way since support has been introduced, we probably don't want to fix this in a revision. As such I suggest to fix it in the next minor (if there'll be a 2.4), or major (3.0).
The text was updated successfully, but these errors were encountered: