mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-06-10 16:13:13 +03:00
Fixed whitespace issue
This commit is contained in:
parent
28ede3a327
commit
299713313a
|
@ -325,12 +325,12 @@ ImagingPackBGRa(UINT8* out, const UINT8* in, int pixels)
|
||||||
int i;
|
int i;
|
||||||
/* BGRa, reversed bytes with premultiplied alplha */
|
/* BGRa, reversed bytes with premultiplied alplha */
|
||||||
for (i = 0; i < pixels; i++) {
|
for (i = 0; i < pixels; i++) {
|
||||||
int alpha = out[3] = in[A];
|
int alpha = out[3] = in[A];
|
||||||
int tmp;
|
int tmp;
|
||||||
out[0] = MULDIV255(in[B], alpha, tmp);
|
out[0] = MULDIV255(in[B], alpha, tmp);
|
||||||
out[1] = MULDIV255(in[G], alpha, tmp);
|
out[1] = MULDIV255(in[G], alpha, tmp);
|
||||||
out[2] = MULDIV255(in[R], alpha, tmp);
|
out[2] = MULDIV255(in[R], alpha, tmp);
|
||||||
out += 4; in += 4;
|
out += 4; in += 4;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user