OP-3723 - changed max limit

Official 16384x16384 actually didn't work because int overflow. 16000 tested and worked.
This commit is contained in:
Petr Kalis 2022-08-17 17:41:23 +02:00
parent db6f46895b
commit ebdf8a348a

View file

@ -143,7 +143,8 @@ class ExtractReview(openpype.api.Extractor):
Ffmpeg has max size 16384x16384. Saved image(s) must be resized to be
used as a source for thumbnail or review mov.
"""
max_ffmpeg_size = 16384
# 16384x16384 actually didn't work because int overflow
max_ffmpeg_size = 16000
Image.MAX_IMAGE_PIXELS = None
first_url = os.path.join(staging_dir, processed_img_names[0])
with Image.open(first_url) as im: