One more BufferedImage type supported
Invert function correctly handle bw images
Avoiding warning reflections