Compress Anki deck .apkg file size
Project description
Anki Compressor
Compresses images and audio in Anki .apkg files to reduce the overall file size.
Installation
anki-compressor
can be installed with Pip, but it requires Pydub and Pillow which have native dependencies that need to be installed. You'll need to include support for libvorbis
in the audio library, since all audio is converted to ogg
and all images are converted to jpg
.
Once you've installed those dependencies, run pip install anki-compressor
to install the command line script.
Usage
anki-compressor -i input.apkg -o output.apkg -q 50 -b 64k
Arguments
-i
: Specifies the input file and is required-o
: Output file name, defaults toMIN_<INPUT>
-q
: Image quality on a scale of 1-100 supplied to Pillow's image processing, defaults to 50-b
: Bitrate for audio output, defaults to '48k'
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
anki-compressor-0.0.7.tar.gz
(4.2 kB
view hashes)
Built Distribution
Close
Hashes for anki_compressor-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c4dc4ca6e0ec6250f11ae6a97e5d4789a7061a59cf9127ff1dad5e3b7e307445 |
|
MD5 | 7770c27f8d405ea02498d57ae6016a5d |
|
BLAKE2b-256 | ee5e7900db843edbc3ccb0fbbc8229c9fff067280c318a5e7bac9dd0b4ff198b |