Instagram-like image filters.
Can be used in conjunction with the [instagram-client](https://bitbucket.org/acoomans/instagram-client) to upload the image after applying a filter.
## Dependencies
Instagram-filters depends on ImageMagick, which can be installed on a Mac with brew:
brew install imagemagick
## Install
python setup.py install
## Usage
First, import the client:
from instagram_filters.filters import *
Instanciate a filter and apply it:
f = Nashville(“image.jpg”) f.apply()
Available filters:
Gotham
Kelvin
Lomo
Nashville
Toaster
Note The filters change the image in-place. Be sure to copy it before applying any filter if you want to copy the original image.
# Tests
Run the tests with:
cd tests python test.py
## Credits
This library is inspired from the [“Create instagram filters with php” tutsplus tutorial](http://net.tutsplus.com/tutorials/php/create-instagram-filters-with-php/).
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file instagram-filters-0.1.tar.gz.
File metadata
- Download URL: instagram-filters-0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a506d7bad06c90f6bf15f27c4163e025c687a903880e15601fb63a7cc7dd312
|
|
| MD5 |
e5e4a2b0bf38d49d9591eac30b16897d
|
|
| BLAKE2b-256 |
76df8f8e0ba8d806f53932aceedf27f19322cc02747f77bb70ed52396257cbe3
|