imgconv: Conversion between different file formats

Description Usage Arguments Details Value Author(s)

View source: R/imgconv.R

Description

This function converts all image files in a directory from one file format to other using readImage and writeImage function of EBImage.

Usage

1
imgconv(dirname = 0, format1, format2, quality = 100)

Arguments

dirname

Path to a directory.

format1

A string, giving an input file extension.

format2

A string, giving an output file extension.

quality

A numeric, ranging from 1 to 100. Default is 100.

Details

This is a wrapper of readImage and writeImage. Supported file formats are same as readImage. Original files are preserved after conversion.

Value

Returns invisible(files).

Author(s)

Yuichiro Hourai, yhourai@gmail.com

Takeo Katsuki, takeo.katsuki@gmail.com


tkatsuki/dipr documentation built on April 19, 2021, 7:18 p.m.