getPixelMax method

int getPixelMax(
  1. int i
)

Returns the maximum sample for pixel i.

Implementation

int getPixelMax(int i) => this[2 * i + 1];