12 Commits
Author SHA1 Message Date
Patrick Jr. 6680bbbe3e fix: handle broken cached image data and wrong resize filter in ImageCache
Fixes #1079

- Call .load() immediately after Image.open() when loading from the
  on-disk cache, so OSError from corrupt/truncated files is caught
  early and triggers a re-fetch from the network instead of crashing.
- Add OSError handling around image.resize() as a second safety net
  for images that are corrupt after downloading.
- Replace incorrect Image_module.Palette.ADAPTIVE resampling argument
  with the correct Image_module.Resampling.LANCZOS in resize().
2026-06-05 18:02:06 +02:00
DevilXD 1b17dd6784 Fix GUI debug code 2025-08-22 18:58:05 +02:00
DevilXD a26b359687 Image cache now ignores corrupted image files 2025-06-01 08:27:50 +02:00
DevilXD 16791d0ea5 Typing fix 2024-09-06 11:05:06 +02:00
DevilXD 5456986f98 Change minimum Python version to 3.10 2024-08-30 17:19:25 +02:00
DevilXD 67cfc6603d Update Pillow to v10.0 2023-10-14 17:49:38 +02:00
DevilXD 2d1dfe007c Handle most cases of cookie and image cache loading errors 2023-06-03 23:03:52 +02:00
DevilXD 5afc7ec27d Make image cache use the request wrapper 2022-08-19 11:57:18 +02:00
DevilXD 05466364d1 Implement the translation feature 2022-08-18 22:28:30 +02:00
DevilXD 0e0c0cb434 Don't error if the cached file is already deleted 2022-07-23 12:32:07 +02:00
DevilXD f3fd0fa5d9 Create more oppurtinities for state saving;
for image cache and settings
2022-04-14 07:55:39 +02:00
DevilXD f7b0a5f2cc Implement the inventory tab 2022-03-27 14:03:11 +02:00