int im_cp_desc(image1, image2)
IMAGE *image1, *image2;
int im_append_desc(image1, image2)
IMAGE *image1, *image2;
This function is primarily used in applications where a copy of the details of an image are necessary for a newly created image. Called by most im_functions. Returns an error if an uninitialised IMAGE is copied.
im_append_Hist(3) appends the history attached to image2 to the end of the history on image1. It is used by image processing functions which take more than one image as input, and which need to make sure that all the input history appears in the output.
The first line of image2 history is not copied, as this conventionally holds background information which is not part of the file history.