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.3.tar.gz (12.5 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.3-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vintager-0.1.3.tar.gz
  • Upload date:
  • Size: 12.5 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.3.tar.gz
Algorithm Hash digest
SHA256 846854d155c1605e34a8b40ce136b34edaf69d16919ec58140f9f84fb58efefe
MD5 dd709bb2804e1daf3af2ead009875d82
BLAKE2b-256 91931ae6b35324cad110b0225d63f00bfe3e5ba0e5726ab6314a31a73ffcc61d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vintager-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5ce5f382e1dd0e5dd02db631d4ef9c2c4917811c70b3ad49011ff23a6822c78c
MD5 30f1ee5e54a2719343c75bca8eef69f5
BLAKE2b-256 162d376abd2004c50743bb7c03fae36b4e4851fe6fe4ded02ea0f6275d190417

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