3.x version of the library replaces white pixels with transparent #396
Answered
by
JimBobSquarePants
DarkDaskin
asked this question in
Q&A
Answered by
JimBobSquarePants
May 26, 2026
Replies: 1 comment 5 replies
|
I think this might be a quantization change not anything to do with the drawing library. The quantizer changed between versions and matches full alpha better. I suspect your input frames do in fact differ alpha wise and the transparent pixels are FFFFFF00. If you can upload your input images and target dimensions I’ll have a look when I can. |
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment




As I suspected this was a quantization issue. I've opened a PR in ImageSharp SixLabors/ImageSharp#3133 which fixes it and will deploy updates soon.
Just to note, because the new code is more accurate and the max sits exactly on the resize boundary you should shrink the ellipse width/height slightly to prevent transparency due to aliasing at resize boundary.
e.g.