Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

save_png

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

rayrender

Build and Raytrace 3D Scenes

v0.21.2
GPL-3
Authors
Tyler Morgan-Wall [aut, cph, cre] (<https://orcid.org/0000-0002-3131-3814>), Syoyo Fujita [ctb, cph], Melissa O'Neill [ctb, cph], Vilya Harvey [ctb, cph]
Initial release
2021-04-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.