invert

open fun invert(): LuminanceSource?

Return

a wrapper of this LuminanceSource which inverts the luminances it returns -- black becomes white and vice versa, and each value becomes (255-value).