Skip to content

Commit 5cda465

Browse files
author
BoboTiG
committed
MSS: optimization of save_img()
1 parent d707089 commit 5cda465

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

mss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ def save_img(self, data, width, height, output):
209209

210210
# Data: size, marker, data, CRC32
211211
idat = [b'', b'IDAT', b'', b'']
212-
idat[2] = zcompr(scanlines, 9)
212+
idat[2] = zcompr(scanlines)
213213
idat[3] = b(b'>I', zcrc32(b''.join(idat[1:3])) & 0xffffffff)
214214
idat[0] = b(b'>I', len(idat[2]))
215215

0 commit comments

Comments
 (0)