RS_Band. You can take the resulting base64 string in an online viewer to check how the image looks like.
This function only works for rasters with byte data, and bands ≤ 4 (Grayscale - RGBA). You can check the data type of an existing raster by using RS_BandPixelType or create your own raster by passing
'B' while using RS_MakeEmptyRaster.Signatures
Parameters
The input raster.
The max width value.
Return type
A string representation.

