Git Product home page Git Product logo

jam-image-filter's Introduction

This Is My Jam Image Filters

A set of image filters crafted and curated by This Is My Jam. These are currently live on www.thisismyjam.com/jam/style, where they are used to automatically generate backgrounds from jam images.

There's also a blog post we wrote about how and why we created these filters.

Installation

To install the Python filters:

cd jam_image_filter
sudo pip install -r requirements.txt

To install glitch:

cd src/glitch
make
sudo make install

Usage

The Python filters all reside in the jam_image_filter folder. To invoke:

python FILTER.py INPUT_PATH OUTPUT_PATH

Contribute

Have an algorithm? Send us a pull request and we'll see if we can get it up on Jam. You can write your script in pretty much any language (as long as we can figure out how to run it, and it doesn't open massive security holes).

Some constraints:

  • It should take the same argument list as the existing ones, i.e. the first argument should be an input file and the second an output file
  • Your script should work with .jpg, .png, and .gif input files (also, grayscale, semi-transparency, etc.)
  • Ideally, it should either tile or have 1700x540px dimensions
  • It should run under 2 seconds and not use crazy amounts of memory

There are some useful functions in util.py, but you don't have to use them.

Examples

Halftone

PXL

Glitch

For more examples look inside the examples folder.

jam-image-filter's People

Contributors

mogle avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.