15 lines
616 B
Markdown
15 lines
616 B
Markdown
# longinus
|
|
|
|
JPEG-compatible image compressor that uses machine learning to adjust coefficients in DCT table.
|
|
|
|
## Installation guide
|
|
1. Download libjpeg-turbo according to your distributions guidelines (for Debian-based: `sudo apt install libturbojpeg`, for Windows use [official installer](https://sourceforge.net/projects/libjpeg-turbo/files), for macOS use brew: `brew install jpeg-turbo`)
|
|
2. Clone this repository
|
|
3. `cd longinus/longinus`
|
|
4. Ensure poetry is installed: [Poetry](https://python-poetry.org)
|
|
5. `poetry install`
|
|
6. `poetry build`
|
|
7. `poetry shell`
|
|
|
|
Now the command `longinus` should be available.
|