Function: addAlphaChannel()
Call Signature
addAlphaChannel(
rgbImage):RasterArrayPixelInterleaved
Defined in: packages/deck.gl-geotiff/src/geotiff/geotiff.ts:22
Add an alpha channel to an RGB image array.
Only supports input arrays with 3 (RGB) or 4 (RGBA) channels. If the input is already RGBA, it is returned unchanged. The result keeps the input's layout: a band-separate image gets a fourth, opaque band.
Parameters
rgbImage
Returns
Call Signature
addAlphaChannel(
rgbImage):RasterArrayBandSeparate
Defined in: packages/deck.gl-geotiff/src/geotiff/geotiff.ts:25
Add an alpha channel to an RGB image array.
Only supports input arrays with 3 (RGB) or 4 (RGBA) channels. If the input is already RGBA, it is returned unchanged. The result keeps the input's layout: a band-separate image gets a fourth, opaque band.
Parameters
rgbImage
Returns
Call Signature
addAlphaChannel(
rgbImage):RasterArray
Defined in: packages/deck.gl-geotiff/src/geotiff/geotiff.ts:28
Add an alpha channel to an RGB image array.
Only supports input arrays with 3 (RGB) or 4 (RGBA) channels. If the input is already RGBA, it is returned unchanged. The result keeps the input's layout: a band-separate image gets a fourth, opaque band.