invert method
Get a wrapper of this LuminanceSource which inverts the luminances it returns -- black becomes white and vice versa, and each value becomes (255-value).
Implementation
LuminanceSource invert() {
return InvertedLuminanceSource(this);
}