1IM_VERSION(3) Library Functions Manual IM_VERSION(3)
2
3
4
6 im_version, im_version_string - return VIPS version info
7
9 #include <vips/vips.h>
10
11 int im_version( int flag )
12
13 const char *im_version_string( void )
14
15
17 im_version(3) returns the major version number if flag == 0, the minor
18 version number if flag == 1, and the micro version number if flag == 2.
19
20 Major versions are supposed to represent very large changes to the
21 library, minor versions indicate steady improvements (with odd minor
22 versions indicating unstable and undocumented development releases),
23 and micro versions indicating bug-fixes.
24
25 im_version_string(3) returns a static string representing the vips ver‐
26 sion number, and the date when the library was built.
27
28 The version number always has three parts, separated by '.' characters.
29 The first part is the major release, the second the minor release (odd
30 minor values denote development releases), and the third the micro ver‐
31 sion number.
32
33 The version number and the date are separated by a '-' character.
34
35 The value of this string is constructed in 'configure.in'.
36
37 A typical value for tthe string might be "7.7.0-Thu Dec 16 18:10:01 GMT
38 1999".
39
40
42 The function returns 0 on success and non-zero on error.
43
45 `VIPS Library Programmers' Guide,' in accompanying documentation.
46
48 National Gallery
49
51 J. Cupitt - 15/12/99
52
53
54
55 15 December 1999 IM_VERSION(3)