library for instagram filters
Project description
pilgram
A python library for instagram filters.
Filter implementations are inspired by CSSgram.
Requirements
- Python 3
- Pillow or pillow-simd
Usage
Available instagram filters on pilgram
: _1977
, aden
, brannan
, brooklyn
, clarendon
, earlybird
, gingham
, hudson
, inkwell
, kelvin
, lark
, lofi
, maven
, mayfair
, moon
, nashville
, perpetua
, reyes
, rise
, slumber
, stinson
, toaster
, valencia
, walden
, willow
, xpro2
from PIL import Image
import pilgram
im = Image.open('sample.jpg')
pilgram.aden(im).save('sample-aden.jpg')
Similarly, pilgram provides css filters as as by-product.
Available css filters on pilgram.css
: contrast
, grayscale
, hue_rotate
, saturate
, sepia
from PIL import Image
import pilgram.css
im = Image.open('sample.jpg')
pilgram.css.sepia(im).save('sample-sepia.jpg')
Test
pipenv install --dev
make test
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
pilgram-1.0.0.tar.gz
(760.7 kB
view details)
Built Distribution
pilgram-1.0.0-py3-none-any.whl
(789.3 kB
view details)
File details
Details for the file pilgram-1.0.0.tar.gz
.
File metadata
- Download URL: pilgram-1.0.0.tar.gz
- Upload date:
- Size: 760.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2cc12f2a1f8eb6a56696e0c3e8f1eeeb2ebb65f731ff167fbb0e9165f628da33 |
|
MD5 | d44abebe149884184d5c281025a44edf |
|
BLAKE2b-256 | f2d46b2347c0c4146852c77e61cd2fb0939f30fa773c8c40ff4331dbfd26c7b5 |
File details
Details for the file pilgram-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: pilgram-1.0.0-py3-none-any.whl
- Upload date:
- Size: 789.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61ba210405f0b06dd1c773739924dbb93036a2b0ecfe8a41403109faeae062d3 |
|
MD5 | f673d0f83c0b202503b40ea91b6d7af2 |
|
BLAKE2b-256 | ce6b84f9fed356b439983bbb88c7cf66370716bc9a014954cb5827d604caffca |