save_png: Save PNG

View source: R/save_png.R

save_pngR Documentation

Save PNG

Description

Writes the hillshaded map to file.

Usage

save_png(hillshade, filename, rotate = 0)

Arguments

hillshade

Array (or matrix) of hillshade to be written.

filename

String with the filename. If .png is not at the end of the string, it will be appended automatically.

rotate

Default 0. Rotates the output. Possible values: 0, 90, 180, 270.

Examples

#internal

rayimage documentation built on Jan. 17, 2023, 9:07 a.m.

Related to save_png in rayimage...