imsave.grid {imageUtilities}R Documentation

saves an image using the in-built png, bmp, tiff etc. devices and grid graphics.

Description

saves an image using the in-built png, bmp, tiff etc. devices and grid graphics.

Usage

  imsave.grid(img, name, FUN = tiff,
    max = imageUtilities.option("max"), switch.off = TRUE,
    ...)

Arguments

img

the image to be saved

name

the name to save the image as

FUN

one of jpeg, png,

max

the max intensity in the image (default 0-1 intensities as opposed to 0-255, since this is a grid function).

switch.off

boolean, whether to call dev.off after drawing the image to close the device. It can be useful to have this FALSE if on wishes to continue plotting after calling the function.

...

get fed into FUN. tiff or bmp.


[Package imageUtilities version 1.0.3 Index]