Fixed Some Images Breaking Thumbnailer

Fixed images that were considered to be "truncated" from breaking the thumbnail renderer when trying to transpose via an EXIF flag. This was happening with certain panorama photos.
This commit is contained in:
Travis Abendshien
2024-05-08 11:39:03 -07:00
parent de434872d6
commit b6ccb88a95

View File

@@ -19,11 +19,13 @@ from PIL import (
ImageFont,
ImageEnhance,
ImageOps,
ImageFile,
)
from PySide6.QtCore import QObject, Signal, QSize
from PySide6.QtGui import QPixmap
from src.core.ts_core import PLAINTEXT_TYPES, VIDEO_TYPES, IMAGE_TYPES
ImageFile.LOAD_TRUNCATED_IMAGES = True
ERROR = f"[ERROR]"
WARNING = f"[WARNING]"