View source: R/image_analysis.R
wbt_image_slider | R Documentation |
This tool creates an image slider from two input images.
wbt_image_slider(
input1,
input2,
output,
palette1 = "grey",
reverse1 = FALSE,
label1 = "",
palette2 = "grey",
reverse2 = FALSE,
label2 = "",
height = 600,
wd = NULL,
verbose_mode = NULL,
compress_rasters = NULL,
command_only = FALSE
)
input1 |
Name of the left input image file. |
input2 |
Name of the right input image file. |
output |
Name of the output HTML file (*.html). |
palette1 |
Left image palette; options are 'grey', 'atlas', 'high_relief', 'arid', 'soft', 'muted', 'purple', 'viridi', 'gn_yl', 'pi_y_g', 'bl_yl_rd', 'deep', and 'rgb'. |
reverse1 |
Reverse left image palette?. |
label1 |
Left image label (leave blank for none). |
palette2 |
Right image palette; options are 'grey', 'atlas', 'high_relief', 'arid', 'soft', 'muted', 'purple', 'viridi', 'gn_yl', 'pi_y_g', 'bl_yl_rd', 'deep', and 'rgb'. |
reverse2 |
Reverse right image palette?. |
label2 |
Right image label (leave blank for none). |
height |
Image height, in pixels. |
wd |
Changes the working directory. Default: |
verbose_mode |
Sets verbose mode. If verbose mode is |
compress_rasters |
Sets the flag used by 'WhiteboxTools' to determine whether to use compression for output rasters. Default: |
command_only |
Return command that would be executed by |
Returns the tool text outputs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.