From eda4192618333f67c8dcc2d6df1ca7839e4221a2 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Sat, 8 Oct 2022 22:27:53 +1100 Subject: [PATCH] Fixed typo --- src/PIL/DdsImagePlugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PIL/DdsImagePlugin.py b/src/PIL/DdsImagePlugin.py index 01367d99f..c98d71c24 100644 --- a/src/PIL/DdsImagePlugin.py +++ b/src/PIL/DdsImagePlugin.py @@ -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("