Open migube opened 4 hours ago
Hello :)
Webp is supported by pillow: https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html#webp But it needs additional local library which would not work by default on windows.
I do not develop that library except for bugs so adding specific features is difficult.
For your first case: I would do
python cbxmanager.py test.cbz
rm */*.xml
python cbxmanager.py test/
The second case is more specific and not sure I can emulate that :)
Also don't forget that cbz are simply zip files so quite easy to manipulate with usual zip tools
https://github.com/Lightjohn/CbXManager/blob/master/cbxmanager.py#L67
With just that for loop you can easily do what you want.
First suggestion is doable, second seems too specific.
hi again
some comments & questions :) images = ["png", "jpg", "jpeg"] => could also be webp I assume ?
Some command line options that could make sense
the idea is to get a sample of the first x & last y pages
let me know if it makes sense/q's tx !