pixelate
Returns a pixmap pixelated.
Syntax
-
pixelate(pm, x[, y])
-
pm
is a pixmap -
x
andy
are positive integers
-
Description
pixelate(pm, x, y)
returns pm
pixelated with pixel width x
and pixel height y
. If omitted, y
defaults to x
.
Examples
pixelate(ExampleData("Sally"), 10)
pixelate(ExampleData("Sally"), 50, 1)
pixelate(ExampleData("Sally"), 1, 50)