diff --git a/server/Dockerfile b/server/Dockerfile index 8d5336e1..66e8fbb7 100644 --- a/server/Dockerfile +++ b/server/Dockerfile @@ -11,8 +11,6 @@ RUN apk --no-cache add \ build-base \ libheif \ libheif-dev \ - libavif \ - libavif-dev \ ffmpeg \ # from requirements.txt: py3-yaml \ @@ -29,8 +27,7 @@ RUN pip3 install --no-cache-dir --disable-pip-version-check \ "coloredlogs==5.0" \ "pyheif==0.6.1" \ "heif-image-plugin==0.5.1" \ - yt-dlp \ - "pillow-avif-plugin~=1.1.0" + yt-dlp RUN apk --no-cache del py3-pip COPY ./ /opt/app/ diff --git a/server/requirements.txt b/server/requirements.txt index 989cb5c9..3ff12939 100644 --- a/server/requirements.txt +++ b/server/requirements.txt @@ -3,7 +3,6 @@ certifi>=2017.11.5 coloredlogs==5.0 heif-image-plugin==0.5.1 numpy>=1.8.2 -pillow-avif-plugin~=1.1.0 pillow>=4.3.0 psycopg2-binary>=2.6.1 pyheif==0.6.1 diff --git a/server/szurubooru/func/image_hash.py b/server/szurubooru/func/image_hash.py index 76d5a846..73698aa9 100644 --- a/server/szurubooru/func/image_hash.py +++ b/server/szurubooru/func/image_hash.py @@ -6,7 +6,6 @@ from typing import Any, Callable, List, Optional, Set, Tuple import HeifImagePlugin import numpy as np -import pillow_avif from PIL import Image from szurubooru import config, errors diff --git a/server/szurubooru/func/images.py b/server/szurubooru/func/images.py index e135d182..41f0356c 100644 --- a/server/szurubooru/func/images.py +++ b/server/szurubooru/func/images.py @@ -8,7 +8,6 @@ from io import BytesIO from typing import List import HeifImagePlugin -import pillow_avif from PIL import Image as PILImage from szurubooru import errors