Commit Graph
5 Commits
Author SHA1 Message Date
164dc577b9 refactor!: disk-first zero-copy architecture with file-to-file cwebp conversion
BREAKING CHANGE: Complete refactoring of the conversion pipeline.

- Replace in-memory Page/PageContainer with disk-based PageFile struct
- Extract archives to temp directory instead of loading into memory
- Use cwebp InputFile/OutputFile for zero-copy file-to-file conversion
- Use cwebp -crop for splitting (no Go-side image decode needed)
- Check if already converted before extracting (fast pre-check)
- Remove oliamb/cutter dependency (replaced by cwebp -crop)
- Remove page_container.go (no longer needed)
- Add comprehensive tests with improved coverage

Co-authored-by: Belphemur <197810+Belphemur@users.noreply.github.com>
2026-07-04 22:18:22 +00:00
Antoine Aflalo e47e21386f tests: update testing suite with more use cases
Actually try to convert existing chapters.
2025-09-09 09:14:40 -04:00
Antoine Aflalo 970b9019df feat: load CBR files 2025-06-12 09:11:22 -04:00
Antoine Aflalo 0303c80feb test: fix path 2025-02-13 20:04:33 -05:00
Antoine Aflalo dd7b6a332c refactor: update import paths to use internal package 2025-02-13 19:43:18 -05:00