1IM_UPDATEHIST(3)           Library Functions Manual           IM_UPDATEHIST(3)
2
3
4

NAME

6       im_updatehist - appends a line of data to Hist
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_updatehist(image, argc, argv)
12       IMAGE *image;
13       int argc;
14       char *argv[];
15

DESCRIPTION

17       im_updatehist(3) is called by the main program to update the history of
18       an image.
19
20       The function appends to the Hist member of the IMAGE descriptor image a
21       string  with  argc,  argv and the time followed by a CR.  The arguments
22       argc and argv are taken directly from the main program.
23
24       If for any reason Hist is NULL, then the program  makes  up  a  history
25       string  by  using  the filename of the image descriptor followed by CR.
26       This routine should be called by all main programs only, before  apply‐
27       ing im_close(3).
28
29

RETURN VALUE

31       The function returns 0 on success and -1 on error.
32

SEE ALSO

34       im_open(3), im_histlin(3).
35
37       N. Dessipris - 23/04/1991
38

AUTHOR

40       N. Dessipris 32/04/1991
41
42
43
44                                 23 April 1991                IM_UPDATEHIST(3)
Impressum