load large images

main
toshiaki1729 2024-06-25 17:44:05 +09:00
parent 620ebe1333
commit b69c821b97
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,8 @@ import re, sys
from typing import List, Set, Optional
from enum import Enum
from PIL import ImageFile
ImageFile.LOAD_TRUNCATED_IMAGES = True
from PIL import Image
from tqdm import tqdm