public TaskConvertImageToRGBPreview createTaskConvertImageToRGBPreview(ImageToProcess image,Executor executor,ImageBackend imageBackend,CaptureSession session,Size targetSize,TaskConvertImageToRGBPreview.ThumbnailShape thumbnailShape){
  return new TaskConvertImageToRGBPreview(image,executor,imageBackend,TaskImageContainer.ProcessingPriority.FAST,session,mTinyThumbnailTargetSize,thumbnailShape);
}

public TaskConvertImageToRGBPreview createTaskConvertImageToRGBPreview ( ImageToProcess image , Executor executor , ImageBackend imageBackend , CaptureSession session , Size targetSize , TaskConvertImageToRGBPreview . ThumbnailShape thumbnailShape ) { return new TaskConvertImageToRGBPreview ( image , executor , imageBackend , TaskImageContainer . ProcessingPriority . FAST , session , mTinyThumbnailTargetSize , thumbnailShape ) ; }
factory functions , in case , you want some shake and bake functionality .
