If the blue color values had also been inverted (instead of setting them to zero),
All that would be necessary to recover the original image