Skip to content

Conversation

@benoit74
Copy link
Contributor

@benoit74 benoit74 commented Nov 3, 2025

Fix #232

To be merged after #234 (which is simpler / narrower scope)

Changes:

  • new illustration module with the IllustrationInfo class, used by reader and writer modules
  • new signatures of reader.Archive.get_illustration_item: get "default" and get specific sizes/scales
  • new method reader.Archive.get_illustrations_infos
  • new signature of writer.Creator.add_illustration : pass detailed illustration infos instead of one fixed size

@benoit74 benoit74 self-assigned this Nov 3, 2025
@benoit74 benoit74 force-pushed the add_illustrations_api branch 5 times, most recently from 53b6486 to 4da244a Compare November 4, 2025 07:26
@benoit74 benoit74 mentioned this pull request Nov 4, 2025
@benoit74 benoit74 force-pushed the add_illustrations_api branch from 4da244a to 070b003 Compare November 6, 2025 14:09
@benoit74 benoit74 changed the base branch from main to libzim_9.4.0 November 6, 2025 14:09
@benoit74 benoit74 force-pushed the add_illustrations_api branch 3 times, most recently from 35ad235 to bfd945f Compare November 6, 2025 14:28
@codecov
Copy link

codecov bot commented Nov 6, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.38%. Comparing base (0f0820a) to head (de46d68).

Additional details and impacted files
@@               Coverage Diff                @@
##           libzim_9.4.0     #233      +/-   ##
================================================
+ Coverage         93.77%   94.38%   +0.60%     
================================================
  Files                 1        1              
  Lines               546      605      +59     
================================================
+ Hits                512      571      +59     
  Misses               34       34              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@benoit74 benoit74 force-pushed the add_illustrations_api branch from bfd945f to de46d68 Compare November 6, 2025 14:34
@benoit74 benoit74 requested a review from rgaudin November 6, 2025 14:39
@benoit74 benoit74 marked this pull request as ready for review November 6, 2025 14:39
@benoit74
Copy link
Contributor Author

benoit74 commented Nov 6, 2025

Ready for review, wheels build still failing on ubuntu arm64 for "known reasons" but rest is in place so ready to be analyzed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use new libzim illustration API

2 participants