summaryrefslogtreecommitdiff
path: root/texture.py
diff options
context:
space:
mode:
authorTim Keller <tjkeller.xyz>2025-05-10 16:26:33 -0500
committerTim Keller <tjkeller.xyz>2025-05-10 16:26:33 -0500
commit3aed05a6cb265e4f60a17f87eb368fb33c93a562 (patch)
tree678661df04e9ae66ee7e4636d396bde8171cf2d3 /texture.py
parentb823139687f3c55dd3695e11a0cf8f9693524e9b (diff)
downloadimmich-frame-3aed05a6cb265e4f60a17f87eb368fb33c93a562.tar.xz
immich-frame-3aed05a6cb265e4f60a17f87eb368fb33c93a562.zip
cleanup some
Diffstat (limited to 'texture.py')
-rw-r--r--texture.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/texture.py b/texture.py
index 73b7a84..ebd1a49 100644
--- a/texture.py
+++ b/texture.py
@@ -7,8 +7,8 @@ class ImageTexture:
def __init__(self, image_source, exif=None):
self.id = None
img = Image.open(image_source)
- self.exif = exif or ImageTexture.get_exif(img)
- img = ImageTexture.handle_orientation(img, self.exif)
+ self.exif = exif or self.get_exif(img)
+ img = self.handle_orientation(img, self.exif)
img = img.convert("RGBA") # Ensure the image is in RGBA mode
self.width = img.width
self.height = img.height