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

NAME

6       im_writeline - writes a line of data in the image descriptor
7

SYNOPSIS

9       #include <vips/vips.h>
10
11       int im_writeline(ypos, image, buffer)
12       int ypos;
13       IMAGE *image;
14       char *buffer;
15

DESCRIPTION

17       im_writeline(3)  writes  the  ypos  line  of an image held in buffer to
18       either the output buffer image (previously set by im_setbuf(3))  or  to
19       an  output  file  (previously set by im_openput(3)).  The function pro‐
20       vides uniform treatment of output irrespectively whether it is  a  file
21       or a buffer image.
22
23       You  should  be careful that the buffer does indeed contain enough data
24       for a complete line of pels --- see lsize(3).
25
26       Any evaluation callbacks which have been added to image  are  triggered
27       --- see im_generate(3) and im_add_eval_callback(3).
28

BUGS

30       This  function  changed  in  VIPS6: programs written previously must be
31       modified by removing the last argument of the old im_writeline(3).
32

RETURN VALUE

34       The function returns 0 on success and -1 on error.
35

SEE ALSO

37       im_setbuf(3), im_openout(3), im_add_eval_callback(3).
38
40       N. Dessipris
41

AUTHOR

43       N. Dessipris 23/04/1991
44
45
46
47                                 22 April 1991                 IM_WRITELINE(3)
Impressum