HdrImage.from constructor

HdrImage.from(
  1. HdrImage other
)

Create a copy of the other HdrImage.

Implementation

HdrImage.from(HdrImage other) {
  for (final ch in other.slices.keys) {
    final slice = other.slices[ch]!;
    addSlice(HdrSlice.from(slice));
  }
}