1VIPS(1) General Commands Manual VIPS(1)
2
3
4
6 vips - run vips operations from the command line
7
9 vips [options] [command] [command-options] [command-args]
10
12 vips(1) is the VIPS universal main program. You can use it to run any
13 VIPS operation from the 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 $ vips im_invert lena.v lena2.v
21
22
24 -p PLUGIN, --plugin=PLUGIN
25 Load PLUGIN. Note that plugins in $VIPSHOME/lib are loaded auto‐
26 matically.
27
28
29 -v, --version
30 Show VIPS version.
31
32
34 list PACKAGE
35 List operations defined in PACKAGE. PACKAGE can also be
36 "classes", "packages" or "all".
37
38
39 cpph PACKAGE
40 Print C++ header for PACKAGE. PACKAGE can also be a function
41 name, or "all".
42
43
44 cppc PACKAGE
45 Print C++ binding for PACKAGE. PACKAGE can also be a function
46 name, or "all".
47
48
49 operation-name operation-arguments
50 Execute a named operation, for example im_invert, or add. Names
51 prefixed with "im_" are called via the vips7 interface, names
52 without the prefix use the new vips8 interface.
53
54
56 Run a vips7 operation. The vips7 interface does not suport optional
57 arguments.
58
59 $ vips im_invert lena.v lena2.v
60
61 Run a vips8 operation. Operation options must follow the operation
62 name.
63
64 $ vips add --imtest=option.jpg lena.v lena2.v out.v
65
66 Get a "usage" message for an operation
67
68 $ vips add
69 VipsAdd (add), add two images
70 add left right out
71 where:
72 left :: VipsImage (input)
73 right :: VipsImage (input)
74 out :: VipsImage (output)
75 optional arguments:
76 imtest :: VipsImage (input)
77 booltest :: gboolean (input)
78
79
81 returns 0 on success and non-zero on error.
82
84 header(1)
85
87 The National Gallery and Birkbeck College, 1989-1996.
88
89
90
91 30 June 1993 VIPS(1)