ImageDataUint16.from constructor

ImageDataUint16.from(
  1. ImageDataUint16 other, {
  2. bool skipPixels = false,
})

Implementation

ImageDataUint16.from(ImageDataUint16 other, {bool skipPixels = false})
    : data = skipPixels
          ? Uint16List(other.data.length)
          : Uint16List.fromList(other.data),
      super(other.width, other.height, other.numChannels);