AuthorTravis Kirton
Tags filters
This example shows how you can apply a sharpen filter to an image.
let filter = Sharpen() //change filter settings img.apply(filter)
let image = Image("rockies")! image.constrainsProportions = true image.width = canvas.width canvas.add(image) var filter = Sharpen() filter.sharpness = 15 image.apply(filter)