Enable to propagate the pixel type from input to output of an app

We should have an option when running an app for propagating the pixel type from the input image to the output image.