Skip to content

Commit 3a57d1a

Browse files
committed
AVIF image support + BUILD
1 parent 2b8716c commit 3a57d1a

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- App icons are now rounded, and MacOS icon has an empty border to fit design guidelines (by @rakleed & @Willy-JL)
77

88
### Fixed:
9+
- Added support for AVIF images, supports new F95zone attachment server conversion (by @Willy-JL)
910
- DDL files are deleted asynchronously now, avoids stutters on slow drives (by @Willy-JL)
1011
- Simplify some error handling, correctly handles connection issues in some edge cases (by @Willy-JL)
1112
- Fix some link icons not being recognized by the extension and missing the library icon (by @Willy-JL)

modules/globals.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,8 @@ def _():
4545
if process.is_file():
4646
_os.environ["QTWEBENGINEPROCESS_PATH"] = str(process)
4747

48-
# Fix PIL image loading
48+
# Pillow image loading
49+
import pillow_avif
4950
from PIL import ImageFile, PngImagePlugin
5051
ImageFile.LOAD_TRUNCATED_IMAGES = True
5152
PngImagePlugin.MAX_TEXT_CHUNK *= 10

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ pywin32==308 ; sys_platform == "win32"
2929
uvloop==0.21.0 ; sys_platform != "win32"
3030
bencode2==0.3.17
3131
pillow==11.0.0
32+
pillow-avif-plugin==1.4.6
3233

3334
# Proxy support
3435
python-socks[asyncio]==2.5.3

0 commit comments

Comments
 (0)