feat(security): add AVIF support

This commit is contained in:
InfinityPacer
2025-02-11 17:10:50 +08:00
parent ac169b7d22
commit a1bc773fb5
5 changed files with 7 additions and 3 deletions

View File

@@ -3,6 +3,7 @@ import tempfile
from pathlib import Path
from typing import List
import pillow_avif # noqa 用于自动注册AVIF支持
from PIL import Image
from app.chain import ChainBase