Algosim documentation: pixelate

pixelate

Returns a pixmap pixelated.

Syntax

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)

Image 1

pixelate(ExampleData("Sally"), 50, 1)

Image 2

pixelate(ExampleData("Sally"), 1, 50)

Image 3

See also