fix height

This commit is contained in:
Owl 2025-02-18 18:08:08 +07:00
parent 2f88d81fa5
commit a10d6568f1

View File

@ -79,7 +79,7 @@ def image_to_string(image_file):
# Get image dimensions # Get image dimensions
width, height = img.size width, height = img.size
if width != WIDTH or HEIGHT != 9: if width != WIDTH or height != HEIGHT:
raise ValueError("The image must be exactly 22x9 pixels.") raise ValueError("The image must be exactly 22x9 pixels.")
# Create the string representation # Create the string representation