summaryrefslogtreecommitdiff
path: root/tools/pokemontools/png.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pokemontools/png.py')
-rw-r--r--tools/pokemontools/png.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/pokemontools/png.py b/tools/pokemontools/png.py
index 3d6934a9..db6da128 100644
--- a/tools/pokemontools/png.py
+++ b/tools/pokemontools/png.py
@@ -646,9 +646,9 @@ class Writer:
# http://www.w3.org/TR/PNG/#11IHDR
write_chunk(outfile, b'IHDR',
- struct.pack("!2I5B", int(self.width), int(self.height),
- self.bitdepth, int(self.color_type),
- 0, 0, int(self.interlace)))
+ struct.pack("!2I5B", self.width, self.height,
+ self.bitdepth, self.color_type,
+ 0, 0, self.interlace))
# See :chunk:order
# http://www.w3.org/TR/PNG/#11gAMA