-
Notifications
You must be signed in to change notification settings - Fork 264
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
.saveAlphaFlag ignored when saving WebP or AVIF #854
Comments
sounds like a bug fix to me |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: