This is the command batch_image_convert that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
batch_image_convert - use VIPS to convert a set of images to a new type
batch_image_convert type image1 image2 ...
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.
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.
returns 0 on success and non-zero on error.
Use batch_image_convert online using onworks.net services