---
name: "batch_image_convert"
section: "1"
platform: "linux"
package: "libvips-tools"
version: "8.10.5-2"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/batch_image_convert"
---

# batch\_image\_convert(1)

use VIPS to convert a set of images to a new type

## NAME

batch\_image\_convert  - use VIPS to convert a set of images to a new type

## SYNOPSIS

**batch\_image\_convert type image1 image2 ...**

## DESCRIPTION

The first argument is the name of an image type, subsequent arguments are the names of files to be converted to that type. VIPS can usually read almost any image type, but it can only write VIPS, PNG, TIFF, PPM/PGM/PBM and JPEG. You can specify conversion parameters in the type name.

For example:

  batch\_image\_convert tiff fred.jpg jim.png

will convert **fred.jpg** and **jim.png** to TIFF format.

  batch\_image\_convert jpeg:95 jim.png

will write jim.jpeg with a 95% quality factor.

## RETURN VALUE

returns 0 on success and non-zero on error.

## SEE ALSO

[vipsheader(1)](/vipsheader/1.md), [im\_vips2tiff(3)](/im_vips2tiff/3.md), [im\_vips2jpeg(3)](/im_vips2jpeg/3.md), [im\_vips2png(3)](/im_vips2png/3.md), [im\_vips2ppm(3)](/im_vips2ppm/3.md)
