Skip to content

Conversation

@xarvex
Copy link
Member

@xarvex xarvex commented Aug 27, 2025

Summary

Was originally intending to bump Pillow to 11.3+, which code-wise we can do, but it appears that mkdocs-material is locked to version 10.2. This would have been important because pillow_heif has removed support for AVIF files because Pillow itself added support for the format (partial in 11.2.1, full in 11.3).

See: bigcat88/pillow_heif#345
See: https://github.com/squidfunk/mkdocs-material/blob/6a9f156c2862437f9f143f01f668152968978839/pyproject.toml#L66C15-L66C16

Still, in preparation, I've added in pillow_avif_plugin which is compatible with both versions and will provide support in the meantime.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable
    • Nix package

@CyanVoxel CyanVoxel added this to the Alpha v9.5.4 milestone Aug 27, 2025
@CyanVoxel CyanVoxel added Type: Installation Installing, building, and/or launching the program Type: UI/UX User interface and/or user experience labels Aug 27, 2025
@CyanVoxel CyanVoxel moved this to 🏓 Ready for Review in TagStudio Development Aug 27, 2025
@xarvex xarvex added Priority: Low Doesn't require immediate attention Type: UI/UX User interface and/or user experience and removed Type: UI/UX User interface and/or user experience labels Aug 27, 2025
@xarvex xarvex changed the title fix(thumb_renderer): prepare for pillow_heif removing AVIF support chore(thumb_renderer): prepare for pillow_heif removing AVIF support Aug 27, 2025
Copy link
Collaborator

@Computerdores Computerdores left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

changes look good and it works on win10

Copy link
Member

@CyanVoxel CyanVoxel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes also look good on macOS 15.5 - Thank you for your work on this, and thank you Computerdores for the Windows testing!

@CyanVoxel CyanVoxel merged commit 2926b91 into main Aug 30, 2025
10 checks passed
@github-project-automation github-project-automation bot moved this from 🏓 Ready for Review to ✅ Done in TagStudio Development Aug 30, 2025
@CyanVoxel CyanVoxel added the Thumbs/Previews File thumbnails or previews label Aug 30, 2025
@CyanVoxel CyanVoxel deleted the upgrade-pillow branch September 28, 2025 20:34
xarvex added a commit that referenced this pull request Nov 24, 2025
Builds upon #1065, mkdocs-material has now bumped the Pillow version
being used, and now the built in AVIF support can be used
@xarvex xarvex mentioned this pull request Nov 24, 2025
9 tasks
CyanVoxel pushed a commit that referenced this pull request Nov 26, 2025
Builds upon #1065, mkdocs-material has now bumped the Pillow version
being used, and now the built in AVIF support can be used
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Low Doesn't require immediate attention Thumbs/Previews File thumbnails or previews Type: Installation Installing, building, and/or launching the program Type: UI/UX User interface and/or user experience

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

4 participants