mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-29 19:36:19 +03:00
Fixed typo
This commit is contained in:
parent
b6b7a7bfa4
commit
eda4192618
|
@ -444,7 +444,7 @@ def _save(im, fp, filename):
|
||||||
stride = (im.width * bit_count + 7) // 8
|
stride = (im.width * bit_count + 7) // 8
|
||||||
fp.write(
|
fp.write(
|
||||||
o32(DDS_MAGIC)
|
o32(DDS_MAGIC)
|
||||||
# header size, flags, height, width, pith, depth, mipmaps
|
# header size, flags, height, width, pitch, depth, mipmaps
|
||||||
+ struct.pack("<IIIIIII", 124, flags, im.height, im.width, stride, 0, 0, )
|
+ struct.pack("<IIIIIII", 124, flags, im.height, im.width, stride, 0, 0, )
|
||||||
+ struct.pack("11I", *((0,) * 11)) # reserved
|
+ struct.pack("11I", *((0,) * 11)) # reserved
|
||||||
# pfsize, pfflags, fourcc, bitcount
|
# pfsize, pfflags, fourcc, bitcount
|
||||||
|
|
Loading…
Reference in New Issue
Block a user