gdal_rgbtopct: QGIS algorithm RGB to PCT

View source: R/gdal_rgbtopct.R

gdal_rgbtopctR Documentation

QGIS algorithm RGB to PCT

Description

QGIS Algorithm provided by GDAL RGB to PCT (gdal:rgbtopct)

Usage

gdal_rgbtopct(
  INPUT = qgisprocess::qgis_default_value(),
  NCOLORS = qgisprocess::qgis_default_value(),
  OUTPUT = qgisprocess::qgis_default_value(),
  ...,
  .complete_output = .complete_output_option(),
  .quiet = .quiet_option(),
  .messages = .message_option()
)

Arguments

INPUT

raster - Input layer. Path to a raster layer.

NCOLORS

number - Number of colors. A numeric value.

OUTPUT

rasterDestination - RGB to PCT. Path for new raster layer.

...

further parameters passed to qgisprocess::qgis_run_algorithm()

.complete_output

logical specifying if complete out of qgisprocess::qgis_run_algorithm() should be used (TRUE) or first output (most likely the main) should read (FALSE). Default value is TRUE.

.quiet

logical specifying if parameter .quiet for qgisprocess::qgis_run_algorithm() Default value is TRUE.

.messages

logical specifying if messages from qgisprocess::qgis_run_algorithm() should be printed (TRUE) or not (FALSE). Default value is FALSE.

Details

Outputs description

  • OUTPUT - outputRaster - RGB to PCT


JanCaha/r_package_qgis documentation built on March 7, 2023, 7:17 a.m.