ImageColor.fromMatrix constructor

ImageColor.fromMatrix(
  1. StaticMatrix<Color> matrix
)

Create a mono image from a matrix

Implementation

ImageColor.fromMatrix(StaticMatrix<Color> matrix)
    : super.allParameters(maxValue: 1, pixels: matrix);