1IM_PRINTDESC(3) Library Functions Manual IM_PRINTDESC(3)
2
3
4
6 im_printdesc, im_Type2char, im_char2Type, im_BandFmt2char,
7 im_char2BandFmt, im_Coding2char, im_char2Coding, im_Compression2char,
8 im_char2Compression - decode image descriptors
9
10
12 #include <vips/vips.h>
13 #include <vips/util.h>
14
15 void im_printdesc(image)
16 IMAGE *image;
17
18 char *im_Type2char( ty );
19 int ty;
20
21 char *im_BandFmt2char( bf );
22 int bf;
23
24 char *im_Coding2char( cod );
25 int cod;
26
27 char *im_Compression2char( comp );
28 int comp;
29
30 int im_char2Type( str );
31 char *str;
32
33 int im_char2BandFmt( str );
34 char *str;
35
36 int im_char2Coding( str );
37 char *str;
38
39 int im_char2Compression( str );
40 char *str;
41
42
44 im_printdesc(3) prints the image descriptor pointed by image.
45
46 im_printdesc(3) exports the functions it uses to code and uncode the
47 type fields in image headers. The functions which return char * return
48 a static string of the form "<bad Type>" on error,
49
50 The functions which return int return -1 on error, setting im_error(3).
51
52
54 header(1).
55
57 N. Dessipris
58
60 N. Dessipris - 11/04/1990
61
62
63
64 11 April 1990 IM_PRINTDESC(3)