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