concat-color-matrices

Functions for combining color matrices

Usage no npm install needed!

<script type="module">
  import concatColorMatrices from 'https://cdn.skypack.dev/concat-color-matrices';
</script>

README

concat-color-matrices

npm version CircleCI codecov Dependency Status devDependencies Status typings included npm

Functions for combining color matrices

Getting started

$ npm install concat-color-matrices --save

Reference

Functions

concatColorMatrices(matrices: Matrix[]): Matrix
concatTwoColorMatrices(matB: Matrix, matA: Matrix): Matrix

Matrix type

  • A 4x5 matrix for color transformations represented by array - consult Android docs for more specific info about it's format

Credits

  • concatTwoColorMatrices function is based on Android SDK sources