1IM_HISTLIN(3) Library Functions Manual IM_HISTLIN(3)
2
3
4
6 im_histlin - write a line of history in image->Hist
7
9 #include <vips/vips.h>
10
11 void im_histlin( variable_list )
12
14 im_histlin(3) appends one line of history consisting of a buffer of
15 data, time, history and CR in history section of the image descriptor.
16
17 The format of ( variable_list ) is:
18
19 (image_descriptor, format, arg1, arg2, ...)
20
21 where format, arg1, arg2, ... are the same as in printf. If Hist is
22 NULL, then im_histlin(3) makes up a one-line history, of just the file
23 name.
24
25 The user should set up format, arg1, arg2, ... in such a way that the
26 added history line corresponds to the command line which creates the
27 same effect with the same arguments. It can be used after calling an
28 im_function. It is simpler to use the function im_updatehist(3)
29 instead.
30
32 The function returns 0 on success and -1 on error.
33
35 im_updatehist(3).
36
38 N. Dessipris
39
41 N. Dessipris - 22/04/1991
42
43
44
45 22 April 1991 IM_HISTLIN(3)