diff options
| author | Tim Keller <tjkeller.xyz> | 2025-05-10 16:26:33 -0500 |
|---|---|---|
| committer | Tim Keller <tjkeller.xyz> | 2025-05-10 16:26:33 -0500 |
| commit | 3aed05a6cb265e4f60a17f87eb368fb33c93a562 (patch) | |
| tree | 678661df04e9ae66ee7e4636d396bde8171cf2d3 /texture.py | |
| parent | b823139687f3c55dd3695e11a0cf8f9693524e9b (diff) | |
| download | immich-frame-3aed05a6cb265e4f60a17f87eb368fb33c93a562.tar.xz immich-frame-3aed05a6cb265e4f60a17f87eb368fb33c93a562.zip | |
cleanup some
Diffstat (limited to 'texture.py')
| -rw-r--r-- | texture.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |
