Skip to content

Conversation

jaredly
Copy link

@jaredly jaredly commented Jun 4, 2022

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 added 2 commits June 4, 2022 14:03
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.
make it clear what the `4` constant is about
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant