ImageDataFloat32.from constructor

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

Implementation

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