Skip to content

binarycrayon/instagram-filters

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram-filters

Instagram-like image filters.

Can be used in conjunction with the 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.

About

Instagram-like image filters

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%