st_aspng


Description

args: rast, nbands, options=NULL - Return the raster tile selected bands as a single portable network graphics (PNG) image (byte array). If 1, 3, or 4 bands in raster and no bands are specified, then all bands are used. If more 2 or more than 4 bands and no bands specified, then only band 1 is used. Bands are mapped to RGB or RGBA space.

Parameters

Name Type Mode
rast USER-DEFINED IN
options ARRAY IN
rast USER-DEFINED IN
nbands ARRAY IN
options ARRAY IN
rast USER-DEFINED IN
nbands ARRAY IN
compression integer IN
rast USER-DEFINED IN
nband integer IN
options ARRAY IN
rast USER-DEFINED IN
nband integer IN
compression integer IN