Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rasterband_pixels.cpp #292

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Commits on Jun 4, 2022

  1. Update rasterband_pixels.cpp

    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.
    jaredly authored Jun 4, 2022
    Configuration menu
    Copy the full SHA
    5ec750c View commit details
    Browse the repository at this point in the history
  2. Update rasterband_pixels.cpp

    make it clear what the `4` constant is about
    jaredly authored Jun 4, 2022
    Configuration menu
    Copy the full SHA
    83ccad5 View commit details
    Browse the repository at this point in the history