Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/acoomans/instagram-filters
Instagram-like image filters
https://github.com/acoomans/instagram-filters
Last synced: 3 months ago
JSON representation
Instagram-like image filters
- Host: GitHub
- URL: https://github.com/acoomans/instagram-filters
- Owner: acoomans
- License: bsd-3-clause
- Created: 2013-07-13T18:59:31.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2016-05-23T12:36:08.000Z (over 8 years ago)
- Last Synced: 2024-07-23T00:53:58.279Z (4 months ago)
- Language: Python
- Size: 398 KB
- Stars: 114
- Watchers: 7
- Forks: 34
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
Instagram-filters
=================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
## CreditsThis library is inspired from the ["Create instagram filters with php" tutsplus tutorial](http://net.tutsplus.com/tutorials/php/create-instagram-filters-with-php/).