Fixed small typo, where did that come from?
This commit is contained in:
parent
a0f7598de2
commit
759d17e5b0
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ try:
|
|||
|
||||
if version == 2:
|
||||
print("Version 2 Paint file detected...")
|
||||
Width = int.from_bytes(f.read(2), "little")
|
||||
width = int.from_bytes(f.read(2), "little")
|
||||
height = int.from_bytes(f.read(2), "little")
|
||||
size = int((width * height) / 8)
|
||||
f.seek((height * 2) + 32) # seek to the start of image data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue