Pixelate

Applies a pixelation effect to the image.

Parameters

Return Values

The instance of *imgo.Image .

Examples

package main

import (
    "github.com/fishtailstudio/imgo"
)

func main() {
    imgo.Load("gopher.png").
        Pixelate(5).
        Save("out.png")
}

Last updated