Coder Social home page Coder Social logo

filtr's Introduction

filtr

filtr is a command-line tool for applying filters to pictures.

filtr is a wrapper around a lot of smaller pieces most notably ImageMagick or GraphicksMagick, neither of which are very small.

Individual filters are defined as "recipes" (which can be invoked on their own) and all the filtr script does is some basic housekeeping around calling them, including things like transferring EXIF data from a source image to the newly filtered version.

Filters

All of the examples listed here are also included in the examples folder.

brdl

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-brdl.jpg brdl

In honour of James Bridle's 1 pixel camera.

dazd

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-dazd.jpg dazd

dthr

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-dthr.jpg dthr

dthrpxl

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-dthrpxl.jpg dthrpxl

edwn

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-edwn.jpg edwn

This is principally used by the heathr filtr.

filtr

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-filtr.jpg filtr

heathr

$> ./filtr ./examples/soy-sauce.jpg ./examples/oysters.jpg heathr dthr pxl ./examples/example-heathr.png

$> ./filtr ./examples/soy-sauce.jpg ./examples/oysters.jpg heathr dthr pxl ./examples/example-heathr.jpg

If the output file is specified with a .png extension then its background colour will be transparent.

Named after the ever fabulous Heather Champ.

postcrd

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-postcrd.jpg postcrd

postr

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-postr.jpg postr

pxl

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-pxl.jpg pxl

pxldthr

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-pxldthr.jpg pxldthr

rockstr

$> ./filtr ./examples/soy-sauce.jpg ./examples/example-rockstr.jpg rockstr

stndpipe

$> ./filtr ./examples/soy-sauce.jpg ./examples/oysters.jpg ./examples/example-stndpipe.jpg stndpipe

$> ./filtr ./examples/soy-sauce.jpg ./examples/oysters.jpg ./examples/example-stndpipe.png stndpipe

If the output file is specified with a .png extension then its background colour will be transparent. This is principally used by the heathr filtr.

These are not included in the examples folder because they're so big and it's sort of a waste. Take a look at the example-heathr images to get a sense of how it works.

Dependencies

  • Unix – or anything with the equivalent of the standard Unix shell tools.

  • ImageMagick or GraphicksMagick

  • Python

  • JHeadoptional as there is a (slower) pure-Python equivalent should that be necessary.

  • The Atkinson Python library – optional as there is a (much slower) pure-Python equivalent should that be necessary.

Contributors

License

Copyright (c) 2005-2013 Aaron Straup Cope. All Rights Reserved.

This is free software. You may use it and distribute it under the same terms as Perl itself.

See also

filtr's People

Contributors

thisisaaronland avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

imclab

filtr's Issues

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.