mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
OP-3723 - remove PIL limit
High resolution could trigger " could be decompression bomb DOS attack".
This commit is contained in:
parent
c9f3340f3c
commit
db6f46895b
1 changed files with 1 additions and 0 deletions
|
|
@ -144,6 +144,7 @@ class ExtractReview(openpype.api.Extractor):
|
|||
used as a source for thumbnail or review mov.
|
||||
"""
|
||||
max_ffmpeg_size = 16384
|
||||
Image.MAX_IMAGE_PIXELS = None
|
||||
first_url = os.path.join(staging_dir, processed_img_names[0])
|
||||
with Image.open(first_url) as im:
|
||||
width, height = im.size
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue