Skip to content

fix: support WebP thumbnails inside ZIP archives#1387

Closed
yosofbadr wants to merge 1 commit into
TagStudioDev:mainfrom
yosofbadr:issue/1364-thumbnail-support-for-webp-files-inside-zip
Closed

fix: support WebP thumbnails inside ZIP archives#1387
yosofbadr wants to merge 1 commit into
TagStudioDev:mainfrom
yosofbadr:issue/1364-thumbnail-support-for-webp-files-inside-zip

Conversation

@yosofbadr

@yosofbadr yosofbadr commented Jun 15, 2026

Copy link
Copy Markdown

Summary

Fixes #1364 by allowing WebP images inside ZIP/CBZ archives to be used as thumbnails.

This adds .webp to the archive thumbnail image extension checks, makes the ComicInfo cover extension check case-insensitive, and adds ZIP/CBZ WebP regression tests.

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM - targeted local test/lint
    • Linux x86
    • Linux ARM
      • GitHub Actions also passed pytest on Linux and Windows for this PR.
  • Tested For:
    • Basic functionality - targeted archive thumbnail regression tests
    • PyInstaller executable
      • Local: uv run --extra pytest pytest tests/qt/test_thumb_renderer.py -q
      • Local: uv run --extra ruff ruff check src/tagstudio/qt/previews/renderer.py tests/qt/test_thumb_renderer.py
      • Local: uv run --extra ruff ruff format --check src/tagstudio/qt/previews/renderer.py tests/qt/test_thumb_renderer.py
      • CI: Ruff, Pyright, REUSE, pytest Linux, pytest Windows, coverage all passed.

@yosofbadr yosofbadr changed the title fix: Thumbnail support for WEBP files inside ZIP fix: support WebP thumbnails inside ZIP archives Jun 15, 2026
@CyanVoxel CyanVoxel added Type: Enhancement New feature or request Type: UI/UX User interface and/or user experience Status: Review Needed A review of this is needed TagStudio: Thumbs/Previews File thumbnails or previews labels Jun 15, 2026
@yosofbadr

Copy link
Copy Markdown
Author

Closing this because I missed #1373, which is already open for #1364 and covers the same area more completely.

Sorry for the duplicate review noise.

@yosofbadr yosofbadr closed this Jun 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Status: Review Needed A review of this is needed TagStudio: Thumbs/Previews File thumbnails or previews Type: Enhancement New feature or request Type: UI/UX User interface and/or user experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request]: Thumbnail support for WEBP files inside ZIP

2 participants