DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.
Set the image type field
dip_Error dip_ImageSetType( image, type )
Set the dip_Image type field. The image must be "raw".
The image structure ImageGetType