Added Callback for image preprocessing
Added Function onImage which allows users to change the image in any way. A great example is changing the image pixel format from BGRA to RGBA
Refactored implementation details
Added Function onImage which allows users to change the image in any way. A great example is changing the image pixel format from BGRA to RGBA
Refactored implementation details