Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
iGN5117 committed Sep 14, 2023
1 parent bd636d9 commit f72f66c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api/sql/Raster-visualizer.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ iVBORw0KGgoAAAA...
```

### RS_AsImage
Introduction: Returns a HTML that when rendered using an HTML viewer or via a Jupyter Notebook, displays the raster as an image. Optionally, an imageSize parameter can be passed to RS_AsImage in order to increase the size of the rendered image (default: 200).
Introduction: Returns a HTML that when rendered using an HTML viewer or via a Jupyter Notebook, displays the raster as a square image of side length `imageWidth`. Optionally, an imageWidth parameter can be passed to RS_AsImage in order to increase the size of the rendered image (default: 200).

Since: `1.5.0`

Format: `RS_AsImage(raster: Raster, imageSize: int = 200)`
Format: `RS_AsImage(raster: Raster, imageWidth: int = 200)`

Spark SQL Example:

Expand Down

0 comments on commit f72f66c

Please sign in to comment.