width * height * bands values, of any numeric type.
Values per pixel, alpha included. Default 1.
Width in pixels.
Height in pixels.
OptionalselectWhich bands make the picture: one index for a gray image, three for R, G, B (0-based). Default: band 0 when there is one color band, else bands 0, 1, 2.
OptionalalphaTrue when the last band is alpha: 0 is transparent, any other value opaque. Default false.
OptionalnoValue that marks pixels with no data; they become transparent. NaN always does.
A band-interleaved raster whose
datakeeps the array type of the input.