1VIPS(1) General Commands Manual VIPS(1)
2
3
4
6 vips - run vips function from UNIX command line
7
9 vips [flags] [command] [args]
10
12 vips is the VIPS universal main program. You can use it to run any VIPS
13 function from the UNIX command line, to query the VIPS function data‐
14 base, and to maintain parts of the VIPS library.
15
16 To run a VIPS function, the first argument should be the name of the
17 function and following arguments should be the function parameters. For
18 example:
19
20 example% vips im_invert lena.v lena2.v
21
22 To query the VIPS function database, use "-help", then the name of a
23 function or a package. For example:
24
25 example% vips -help
26 "-help flags" for a list of flags available
27 "-help <package name>" for a list of commands in package
28 where <package name> is one of:
29 arithmetic (31 functions)
30 boolean (8 functions)
31 colour (24 functions)
32 ... etc
33 relational (13 functions)
34 "-help all" for a list of all commands in all packages
35 "-help <command>" for an explanation of a command
36 example% vips -help arithmetic
37 functions available in package "arithmetic":
38 im_abs - absolute value
39 im_acostra - acos of image (result in degrees)
40 ... etc
41 im_stats - many image statistics in one pass
42 im_tantra - tan of image (angles in degrees)
43 example% vips -help im_abs
44 vips: args: in out
45 where:
46 in is of type "image"
47 out is of type "image"
48 absolute value, from package "arithmetic"
49 flags: (PIO function) (no coordinate transformation)
50 example%
51
52
54 -help simple built-in help system can give information on arguments to
55 the vips program, on argumets to any VIPS function, or a listing
56 of the functions available.
57
58 -plugin <file name>
59 Add commands in file to those normally available. Plugins are
60 searched before the main VIPS function database, letting you
61 override standard VIPS functions.
62
63 -links Print "ln -s" lines for all VIPS functions. Used to build the
64 VIPS bin area.
65
66 -ip <package name>
67 Print ip macros for the functions in the named package. Used to
68 build the ip menu system.
69
70 -c++ <package name/function name/all>
71 Print C++ bindings for a function, for a package, or for all
72 functions. Used to build the VImage class.
73
75 returns 0 on success and non-zero on error.
76
78 header(1)
79
81 The National Gallery and Birkbeck College, 1989-1996.
82
83
84
85 30 June 1993 VIPS(1)