convertToFormat: Convert Image to Format

Description Usage Arguments

View source: R/iviewMain.R

Description

Convert Image to Format

Usage

1
2
3
4
5
6
7
convertToFormat(
  imagepath,
  format,
  outputdir = dirname(imagepath),
  wait = TRUE,
  irfanViewExe = defaultIrfanViewExe()
)

Arguments

imagepath

full path to image file to be converted

format

file extension of target format (without ".", e.g. "jpg", "bmp", ...)

outputdir

output directory where converted image is to be saved. Per default the file is created in the directory of imagepath

wait

passed to shell

irfanViewExe

path to IrfanView Executable


KWB-R/kwb.iview documentation built on Dec. 18, 2021, 2:37 a.m.