1BATCH_IMAGE_CONVERT(1) General Commands Manual BATCH_IMAGE_CONVERT(1)
2
3
4
6 batch_image_convert - use VIPS to convert a set of images to a new
7 type
8
10 batch_image_convert type image1 image2 ...
11
13 The first argument is the name of an image type, subsequent arguments
14 are the names of files to be converted to that type. VIPS can usually
15 read almost any image type, but it can only write VIPS, PNG, TIFF,
16 PPM/PGM/PBM and JPEG. You can specify conversion parameters in the
17 type name.
18
19 For example:
20
21 batch_image_convert tiff fred.jpg jim.png
22
23 will convert fred.jpg and jim.png to TIFF format.
24
25 batch_image_convert jpeg:95 jim.png
26
27 will write jim.jpeg with a 95% quality factor.
28
30 returns 0 on success and non-zero on error.
31
33 header(1), im_vips2tiff(3), im_vips2jpeg(3), im_vips2png(3),
34 im_vips2ppm(3)
35
36
37
38
39 2 Feb 2002 BATCH_IMAGE_CONVERT(1)