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 = FALSE,
compress_rasters = FALSE
)
Name of the left input image file.
Name of the right input image file.
Name of the output HTML file (*.html).
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'.
Reverse left image palette?.
Left image label (leave blank for none).
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'.
Reverse right image palette?.
Right image label (leave blank for none).
Image height, in pixels.
Changes the working directory.
Sets verbose mode. If verbose mode is False, tools will not print output messages.
Sets the flag used by WhiteboxTools to determine whether to use compression for output rasters.
Returns the tool text outputs.