mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-08-03 20:10:08 +03:00
Merge 9d35947363
into 88a7672163
This commit is contained in:
commit
ebe856efd4
|
@ -81,10 +81,10 @@ ImagingAlphaComposite(Imaging imDst, Imaging imSrc)
|
|||
}
|
||||
}
|
||||
|
||||
out[x + 0] = (UINT8) (255.0 * outR);
|
||||
out[x + 1] = (UINT8) (255.0 * outG);
|
||||
out[x + 2] = (UINT8) (255.0 * outB);
|
||||
out[x + 3] = (UINT8) (255.0 * outA);
|
||||
out[x + 0] = (UINT8) (255.0 * outR + 0.5);
|
||||
out[x + 1] = (UINT8) (255.0 * outG + 0.5);
|
||||
out[x + 2] = (UINT8) (255.0 * outB + 0.5);
|
||||
out[x + 3] = (UINT8) (255.0 * outA + 0.5);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user