nip2 (1) Linux Manual Page
NAME
nip2 – image processing with the VIPS library
SYNOPSIS
nip2 [filename1 …]
nip2 -s filename [arg1 …]
nip2 -e expression [arg1 …]
DESCRIPTION
nip2 (for New Image Processing) is a tool for manipulating images using the VIPS image processing library.
There are three principal modes:
nip2 [filename1 …]
nip2 -e expression [arg1 …]
nip2 –expression=EXPRESSION [arg1 …]
nip2 -s filename [arg1 …]
nip2 –script=FILENAME [arg1 …]
You can use -o to direct output to a file rather than stdout.
-o filename
–output=FILENAME
Other options provide finer control over startup and shutdown. If you need to do something strange, don’t use -e/-s, use these in combination.
-b
–batch
-m
–no-load-menus
-a
–no-load-args
-w
–stdin-ws
-d
–stdin-def
-p
–print-main
Finally some other options are useful for debugging, timing and for generating strings for internationalisation.
-V
–verbose
-i
–i18n
-v
–version
-c
–benchmark
-t
–time-save
-T
–test
-x PREFIX
–prefix=PREFIX
EXAMPLES
Start nip2, loading fred.jpg.
Prints 4 to stdout.
Load argv1 (fred.jpg), add 99, output to result.png.
Invert the 2×2 matrix and write the result to poop.mat.
COPYRIGHT
2008 (c) Imperial College, London
