mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-28 10:56:18 +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
|
||||
fp.write(
|
||||
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("11I", *((0,) * 11)) # reserved
|
||||
# pfsize, pfflags, fourcc, bitcount
|
||||
|
|
Loading…
Reference in New Issue
Block a user