1EDVIPS(1)                   General Commands Manual                  EDVIPS(1)
2
3
4

NAME

6       edvips - edit header of a vips image file
7

SYNOPSIS

9       edvips [OPTION...] vipsfile
10

DESCRIPTION

12       edvips  alters  a  VIPS image file's header. This is useful for setting
13       the resolution, for example.
14
15       The options are:
16
17         -x, --xsize=N       set Xsize to N
18         -y, --ysize=N       set Ysize to N
19         -b, --bands=N       set Bands to N
20         -f, --format=F      set BandFmt to F (eg. uchar)
21         -i, --interpretation=I
22                             set Interpretation to I (eg. xyz)
23         -c, --coding=C      set Coding to C (eg. labq)
24         -X, --xres=R        set Xres to R pixels/mm
25         -Y, --yres=R        set Yres to R pixels/mm
26         -u, --xoffset=N     set Xoffset to N
27         -v, --yoffset=N     set Yoffset to N
28         -e, --setext        replace extension block with stdin
29
30       Be very careful when changing Xsize, Ysize, BandFmt  or  Bands.  edvips
31       does no checking!
32
33

EXAMPLES

35       To set the Xsize to 512 and Bands to 6:
36
37         edvips --xsize=512 --bands=6 fred.v
38
39       or
40
41         edvips -x 512 -b 6 fred.v
42
43       Extract  the  XML  metadata  from an image with header(1), edit it, and
44       reattach with edvips(1).
45
46         header -f getext fred.v | sed s/banana/pineapple/ | edvips -e fred.v
47
48

RETURN VALUE

50       returns 0 on success and non-zero on error.
51

SEE ALSO

53       header(1)
54
56       K. Martinez 1993
57
58
59
60                                 30 June 1993                        EDVIPS(1)
Impressum