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.2.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.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vintager-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 0e418c1f135228df4328e959a7f39ccdf2c6134cd48bc5b6361b6c521102e17f
MD5 b418b6405fbdea5c74209597ab535bf0
BLAKE2b-256 c0d897324d403f28a53c0d26e64731e485b663459c9e6ea205a1443d5503fcd3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: vintager-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 be95efbbaac73ccb2f7a77a6627ae4a2eeddca6552a1ddd73257532098a24e1f
MD5 60e1b577caa70531560336e179620dbe
BLAKE2b-256 6d3ca824422dce93e06379fae3a0dcf9eb5566f80e4a3eb9bed7cb041d4435c4

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