imsave {imageUtilities}R Documentation

saves an image (tiff, jpeg, png, bmp)

Description

saves an image (tiff, jpeg, png, bmp)

Usage

  imsave(img, name, comment = NULL, qual = 100,
    max = imageUtilities.option("max"))

Arguments

img

the image to save

name

the file name to save as

comment

save this as the image's comment (if JPEG or TIFF)

qual

quality of the file (if JPEG, default 100)

max

max intensity of input image

Note

bmp and tiff use the base png and tiff functions in combination with (internal to this package) imsave.grid, which needs package 'grid'. The png and jpeg packages are used to write those images.

See Also

writePNG, writeJPEG

Other io: imload


[Package imageUtilities version 1.0.3 Index]