mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-07-01 18:33:05 +03:00
lint
This commit is contained in:
parent
6bf791a3e7
commit
ce204f47f4
|
@ -737,7 +737,7 @@ ImagingNewArrow(
|
||||||
return im;
|
return im;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Stored as [[r,g,b,a],....]
|
// Stored as [[r,g,b,a],...]
|
||||||
if (strcmp(schema->format, "+w:4") == 0 // 4 up array
|
if (strcmp(schema->format, "+w:4") == 0 // 4 up array
|
||||||
&& im->pixelsize == 4 // storage as 32 bpc
|
&& im->pixelsize == 4 // storage as 32 bpc
|
||||||
&& schema->n_children > 0 // make sure schema is well formed.
|
&& schema->n_children > 0 // make sure schema is well formed.
|
||||||
|
@ -753,7 +753,7 @@ ImagingNewArrow(
|
||||||
return im;
|
return im;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Stored as [r,g,b,a,r,g,b,a....]
|
// Stored as [r,g,b,a,r,g,b,a,...]
|
||||||
if (strcmp(schema->format, "C") == 0 // uint8
|
if (strcmp(schema->format, "C") == 0 // uint8
|
||||||
&& im->pixelsize == 4 // storage as 32 bpc
|
&& im->pixelsize == 4 // storage as 32 bpc
|
||||||
&& schema->n_children == 0 // make sure schema is well formed.
|
&& schema->n_children == 0 // make sure schema is well formed.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user