node-gdal icon indicating copy to clipboard operation
node-gdal copied to clipboard

Update rasterband_pixels.cpp

Open jaredly opened this issue 2 years ago • 0 comments

~the n*4 makes it seem like we're reading RGBA for each pixel, but experimentally band.pixels.read(0,0,16,16) only uses 256 slots in the data buffer; only one elevation reading per pixel.~

oh it's 4 bytes per float

jaredly avatar Jun 04 '22 20:06 jaredly