gitter.batch | R Documentation |
This function will process a directory or list of images in a batch. You can also use this function to process images with sparse to empty rows/columns using a reference image.
gitter.batch(image.files, ref.image.file = NULL, verbose = "l", ...)
image.files |
Directory containing images OR a character vector of image paths. |
ref.image.file |
Specifies path to a reference image, which will be used to grid images specified in |
verbose |
See parameters in |
... |
Additional parameters passed to |
gitter.batch
does not return any values. DAT and gridded files are saved to their respective directories.
# Processing image using reference image # This image would typically fail to process, since its missing several rows f = system.file("extdata", "sample_dead.jpg", package="gitter") # We will use this image to successfully process the above image f.ref = system.file("extdata", "sample.jpg", package="gitter") # Process gitter.batch(f, f.ref) # Remember: output files by default are saved to your working directory
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.