save_bmp | R Documentation |
Save an image as a BMP file
save_bmp(image_data, path)
image_data |
A raster image data object, such as an array of pixel values or an R object representing an image. |
path |
The path to the file to be saved. |
Saves the image as a BMP file at the specified path.
## Not run:
# Create an image data object
image_data <- matrix(rnorm(100), ncol = 10)
# Save the image as a BMP file
save_bmp(image_data, "image.bmp")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.