Skip to main content

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.1.tar.gz (42.8 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vintager-0.1.1-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file vintager-0.1.1.tar.gz.

File metadata

  • Download URL: vintager-0.1.1.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

Hashes for vintager-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f79dda56f88208c50ea9ada8dddaf595e46b0806c56aad0db1642e7c2722f9f8
MD5 8605af1bf8316984bc11c83b02bdfcc2
BLAKE2b-256 151ac18bbb90fa202610aa6216704e9c8b20f19123bb29d8cb5a3d583f200de5

See more details on using hashes here.

File details

Details for the file vintager-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: vintager-0.1.1-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

Hashes for vintager-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 75d6d76e4d6c4fb62da02dffb0a46ffa1e8a90e7709572e3dce24e3116e320c9
MD5 46f0bcb65fc84b5875298b37f8322fc4
BLAKE2b-256 ff3476669ba914cc6cbe0f7a4933b4ea3ebe9d0e7f2370ed8e2e4de1712068cd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page