Skip to content

Commit

Permalink
AVIF image support + BUILD
Browse files Browse the repository at this point in the history
  • Loading branch information
Willy-JL committed Jan 25, 2025
1 parent 2b8716c commit 3a57d1a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- App icons are now rounded, and MacOS icon has an empty border to fit design guidelines (by @rakleed & @Willy-JL)

### Fixed:
- Added support for AVIF images, supports new F95zone attachment server conversion (by @Willy-JL)
- DDL files are deleted asynchronously now, avoids stutters on slow drives (by @Willy-JL)
- Simplify some error handling, correctly handles connection issues in some edge cases (by @Willy-JL)
- Fix some link icons not being recognized by the extension and missing the library icon (by @Willy-JL)
Expand Down
3 changes: 2 additions & 1 deletion modules/globals.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ def _():
if process.is_file():
_os.environ["QTWEBENGINEPROCESS_PATH"] = str(process)

# Fix PIL image loading
# Pillow image loading
import pillow_avif
from PIL import ImageFile, PngImagePlugin
ImageFile.LOAD_TRUNCATED_IMAGES = True
PngImagePlugin.MAX_TEXT_CHUNK *= 10
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ pywin32==308 ; sys_platform == "win32"
uvloop==0.21.0 ; sys_platform != "win32"
bencode2==0.3.17
pillow==11.0.0
pillow-avif-plugin==1.4.6

# Proxy support
python-socks[asyncio]==2.5.3
Expand Down

0 comments on commit 3a57d1a

Please sign in to comment.