HdrSlice.from constructor

HdrSlice.from(
  1. HdrSlice other
)

Create a copy of the other HdrSlice.

Implementation

HdrSlice.from(HdrSlice other)
    : name = other.name,
      width = other.width,
      height = other.height,
      type = other.type,
      bitsPerSample = other.bitsPerSample,
      data = other.data.sublist(0);