Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

LangQi99
Copy link
Contributor

@LangQi99 LangQi99 commented Sep 7, 2025

PR summary

Address issue #26092

Per community consensus in #26092, the behavior for RGBA inputs has been changed from overwriting to blending; the image's intrinsic alpha is now multiplied with the passed alpha value. This change unifies alpha handling for 2D, RGB, and RGBA images, making the behavior consistent and predictable.

PR checklist

@LangQi99 LangQi99 changed the title Draft: Fix: support alpha array for RGB images (closes #26092) Draft: Fix: support alpha array for RGBA images (closes #26092) Sep 7, 2025
@github-actions github-actions bot added the Documentation: examples files in galleries/examples label Sep 7, 2025
@LangQi99 LangQi99 changed the title Draft: Fix: support alpha array for RGBA images (closes #26092) Fix: support alpha array for RGBA images (closes #26092) Sep 7, 2025
@LangQi99 LangQi99 marked this pull request as ready for review September 7, 2025 17:04
@LangQi99
Copy link
Contributor Author

LangQi99 commented Sep 8, 2025

Old Behavior pay attention to the bottom right
Figure_2

New Behavior
Figure_fix

@LangQi99 LangQi99 changed the title Fix: support alpha array for RGBA images (closes #26092) Fix: Change alpha application for RGBA from overwrite to multiply Sep 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation: examples files in galleries/examples topic: images
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant