Skip to content

Commit

Permalink
add flip method
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-moran committed Jan 17, 2015
1 parent 46c85e0 commit 3326711
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,14 @@ Once the callback has fired the following methods can be called on the image:

image.crop( x, y, w, h ); // crop to the given region
image.invert(); // invert the image colours
image.flip( horz, vert); // flip the image horizontally or vertically
image.gaussian( r ); // Gaussian blur the image by r pixels (VERY slow)
image.blur( r ); // fast blur the image by r pixels
image.greyscale(); // remove colour from the image
image.sepia(); // apply a sepia wash to the image
image.opacity( f ); // apply an opacity of 0-1 to the image
image.resize( w, h ); // resize the image
image.scale( f ); // scale the image by the factor f
image.blur( r ); // fast blur the image by r pixels
image.gaussian( r ); // Gaussian blur the image by r pixels (VERY slow)

(Contributions of more methods are welcome!)

Expand Down

0 comments on commit 3326711

Please sign in to comment.