Img.opIndex

Get the pixel at the given index. If scaleToByte is set, 16 bit formats will only return the high bytes, effectively reducing precision to 8bit.

class Img(Px F)
opIndex
(
size_t x
,
size_t y
,
bool scaleToByte = true
)

Meta