Skip to main content

Instagram-like image filters

Project description

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/).

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for instagram-filters, version 0.1
Filename, size & hash File type Python version Upload date
instagram-filters-0.1.tar.gz (3.1 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page