mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-26 18:06:18 +03:00
Use default value
Co-authored-by: Alexander Karpinsky <homm86@gmail.com>
This commit is contained in:
parent
57c1cf603e
commit
d9283fd1f8
|
@ -1575,7 +1575,10 @@ if (PySequence_Check(op)) { \
|
||||||
}
|
}
|
||||||
double value;
|
double value;
|
||||||
if (image->bands == 1) {
|
if (image->bands == 1) {
|
||||||
int bigendian = image->type == IMAGING_TYPE_SPECIAL && strcmp(image->mode, "I;16B") == 0;
|
int bigendian = 0;
|
||||||
|
if (image->type == IMAGING_TYPE_SPECIAL) {
|
||||||
|
bigendian = strcmp(image->mode, "I;16B") == 0;
|
||||||
|
}
|
||||||
for (i = x = y = 0; i < n; i++) {
|
for (i = x = y = 0; i < n; i++) {
|
||||||
set_value_to_item(seq, i);
|
set_value_to_item(seq, i);
|
||||||
if (scale != 1.0 || offset != 0.0) {
|
if (scale != 1.0 || offset != 0.0) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user