1IM_DEBUG(3) Library Functions Manual IM_DEBUG(3)
2
3
4
6 im_debug, im_printlines - print raw image data pointed by an image
7 descriptor
8
10 #include <vips/vips.h>
11
12 void im_debugim( image )
13 IMAGE *image;
14
15 void im_printlines( image )
16 IMAGE *image;
17
19 im_debugim(3) prints to the standard error output raw data pointed by
20 image sequentially. Data are printed as float numbers and the function
21 interprets the input format properly. If input is complex then for
22 each pixel the real part followed by the imaginary is printed. It can
23 be used for debugging preferably on small images. If input is uchar
24 then the printed values are integers.
25
26 im_printlines printes in the standard error output the no of line fol‐
27 lowed by CR, followed by the line pixel values. For each pixel, the x
28 location followed by the pixel value(s) is printed. The location and
29 the pixels value(s) are separated by a tab. Each pixel is printed on a
30 separate line.
31
33 N. Dessipris
34
36 N. Dessipris - 22/04/1991
37
38
39
40 22 April 1991 IM_DEBUG(3)