Added the generation of a RGB preview. There seems to be some error in the calibration or image generation.
Fixed issue with the generation of preview with offset. Now preview with calibration is ready.
Aded parameter to control the preview generation.