diff --git a/utils/image_handler.py b/utils/image_handler.py index f8433cd..fb53829 100644 --- a/utils/image_handler.py +++ b/utils/image_handler.py @@ -3,9 +3,6 @@ import piexif import time from fractions import Fraction -from debug import my_debugging_tools -d = my_debugging_tools() - class ImageProcessor: """Functions using pillow are in here.""" def __init__(self): @@ -43,6 +40,7 @@ class ImageProcessor: return resized_image def add_watermark(self, image, text, font_size_percentage): + # Still not happy about this function.. drawer = ImageDraw.Draw(image) imagewidth, imageheight = image.size margin = (imageheight / 100 ) * 2 # margin dynamic, 2% of image size