Implements negation.

This commit is contained in:
David Carley
2015-11-17 10:18:59 -06:00
parent 5dfeaa9fd1
commit 33a175eafb
10 changed files with 130 additions and 0 deletions

View File

@@ -272,6 +272,10 @@ The default background is `{r: 0, g: 0, b: 0, a: 1}`, black without transparency
Merge alpha transparency channel, if any, with `background`.
#### negate()
Produces the "negative" of the image. White => Black, Black => White, Blue => Yellow, etc.
#### rotate([angle])
Rotate the output image by either an explicit angle or auto-orient based on the EXIF `Orientation` tag.