Fields and methods of the jala.ImageFilter class.
Constructs a new ImageFilter object
parameters
Object | img |
Either
|
methods
- sharpen(amount)
- unsharpMask(radius, amount)
- gaussianBlur(radius, amount)
- getImage()
- getBytes()
Methods
Sharpens the image using a plain sharpening kernel.
parameters
Number | amount | The amount of sharpening to apply |
Performs an unsharp mask operation on the image
parameters
Number | radius | The radius |
Number | amount | The amount |
Performs a gaussian blur operation on the image
parameters
Number | radius | The radius |
Number | amount | The amount |
Returns the image that has been worked on
returns
An instance of helma.image.ImageWrapper |
Returns the wrapped image as byte array, to use eg. in conjunction
with res.writeBinary()
returns
The wrapped image as byte array |