Image.readPixelIndex

Reads an index, if the image isn't indexed throws an ImageFormatException.

class Image
T
readPixelIndex
(
T = ubyte
)
(
ushort x
,
ushort y
)
if (
T.stringof == ushort.stringof ||
T.stringof == ubyte.stringof
)

Meta