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
{{ message }}
Repository navigation
Transparent black and black aren't the same color #32
I noticed that if parts of an image change from black (#000000FF) to transparent black (#00000000) dify doesn't notice any difference.
I believe pixelmatch has a smiliar issue: mapbox/pixelmatch#26
Someone recently opened a PR to fix this problem: mapbox/pixelmatch#142
Could we implement the same fix in dify?
Activity
jihchi commentedon Nov 3, 2024
Hi @lucasmerlin. Thank you for the reference links.
Do you by any change have an example on hand that you can share with me so that I can reproduce and verify the issue?
lucasmerlin commentedon Nov 3, 2024
Hi, sorry I should have provided the images from the start.
Dify considers these two identical:
jihchi commentedon Nov 3, 2024
Thank you @lucasmerlin ! I can reproduce the issue using the provided files. Let me investigate further.
Transparent is not white
Transparent is not white
Transparent is not white
Transparent is not white
Transparent is not white
Transparent is not white
Transparent is not white
Transparent is not white
Transparent is not white
Fix "Transparent black and black aren't the same color" issue
Fix "Transparent black and black aren't the same color" issue
jihchi commentedon Jan 4, 2026
The issue should be fixed in
v0.8.0.