imageFrom

Converts a sequence of colors to a picture from the input range.

@trusted nothrow pure
imageFrom
(
Range
)
(
Range range
,
uint width
,
uint height
)
if (
isInputRange!Range
)

Parameters

range Range

Sequence of colors.

width uint

Image width.

height uint

Image height.

Return Value

Type: Image

A picture to be converted from a set of colors.

Meta