Set the dimensions array
dip_Error dip_ImageSetDimensions( image, dimensions )
Set the dip_Image dimensions array. The image must be "raw".
The image structure, ImageGetDimensions, ChangeDimensions