Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmahnke committed Aug 18, 2024
1 parent 05320b4 commit e4a62be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/manipulator_uhdr_app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import sys
import tempfile
import logging

from iiif.manipulator import IIIFManipulator

Expand Down Expand Up @@ -58,7 +59,7 @@ def do_first(self):
w, h = self.image.size
if (w % 2 or h % 2):

new_w, new_h = iself.image.size
new_w, new_h = self.image.size
new_w -= w % 2
new_h -= h % 2
logging.info(f"Resizing image, from {w}x{h} to {new_w}x{new_h}")
Expand Down

0 comments on commit e4a62be

Please sign in to comment.