doc: fix incorrect documentation for ImageWrapper.getPixelsType

The documentation for getPixelsType was incorrect (copy and paste from getPixelSizeX).

While doing it I added a bit more detail to what getPixelsType can be used for (otherwise one has to follow into the Java documentation which is not so obvious for someone without java knowledge).