Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Math correction to PaintBrushJS. (A lightweight browser-based image processing library)
JavaScript
Branch: master
Pull request Compare This branch is 1 commit behind mezzoblue:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
demo
LICENSE
README
common.js
paintbrush.js

README

PaintbrushJS
Copyright (c) 2010, Dave Shea
All rights reserved.

Developed by Dave Shea, http://www.mezzoblue.com/
PaintbrushJS on GitHub: http://github.com/mezzoblue/PaintbrushJS


PaintbrushJS is a lightweight, browser-based image processing library 
that can apply various visual filters to images within a web page.

You use it by applying a class to an element on the page and setting 
a few parameters with some extra HTML attributes. If the element is
an img or it has a background-image set in your CSS, PaintbrushJS 
will create a temporary canvas element and manipulate the image 
there, before finally saving it back out to the original element.

See PaintbrushJS in action: http://mezzoblue.github.com/PaintbrushJS/demo/
Usage examples: http://mezzoblue.github.com/PaintbrushJS/demo/usage.html
Documentation: http://wiki.github.com/mezzoblue/PaintbrushJS/documentation


KNOWN ISSUES

Does not work in IE8 or lower (though IE9 should be fine), and 
Firefox / Chrome only work when files exist on a web server. For 
more known issues, see: 

http://wiki.github.com/mezzoblue/PaintbrushJS/known-issues
Something went wrong with that request. Please try again.