A Python package for applying vintage effects to images.
Project description
Vintager
Lightweight Python library to convert photos to a vintage style.
| Original | Vintage Sepia |
|---|---|
| Black and white high contrast | Film |
Installation
Just use:
pip install vintager
To install locally this package, you can run:
git clone https://github.com/Fran-98/vintager
pip install .
Use
from vintager.vintager import convert
im = convert(<image_path>,
<image_output_path>,
black_and_white=False,
high_contrast_black_and_white=False,
apply_sepia=False,
apply_vintage=True,
apply_grain=True,
noise_level=100
)
Or from cli using vintager <image_path> <image_output_path> (use --help for optional parameters)
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
vintager-0.1.0.tar.gz
(42.8 MB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vintager-0.1.0.tar.gz.
File metadata
- Download URL: vintager-0.1.0.tar.gz
- Upload date:
- Size: 42.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb12c078405bba140317c485446dabe83254be8104547307573090fa582efe50
|
|
| MD5 |
54780b94773e006323250aef17fbffad
|
|
| BLAKE2b-256 |
a26ac57090f0b9aae922d08fc8e4da632d084fc616c43e74ac6c6c3f399e0039
|
File details
Details for the file vintager-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vintager-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7da7358f131b0677734249b6397071001eeeff15aad0153b8170822ffc5fbab6
|
|
| MD5 |
e75e7625590a307bf0830fb76a9e46d7
|
|
| BLAKE2b-256 |
f12edca30eb95dc286239f907124b6b2f790c151e136d58818c6dadfb2fbf39b
|