HdrSlice constructor

HdrSlice(
  1. String? name,
  2. int width,
  3. int height,
  4. int type,
  5. int bitsPerSample,
)

Implementation

HdrSlice(this.name, this.width, this.height, this.type, this.bitsPerSample)
    : data = allocateDataForType(width * height, type, bitsPerSample);