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

NAME

6       vipsedit - edit header of a vips image file
7

SYNOPSIS

9       vipsedit [OPTION...] vipsfile
10

DESCRIPTION

12       vipsedit  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.  vipsedit
31       does no checking!
32
33

EXAMPLES

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

RETURN VALUE

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

SEE ALSO

54       vipsheader(1)
55
57       K. Martinez 1993
58
59
60
61                                 30 June 1993                      VIPSEDIT(1)
Impressum