https://github.com/iyegoroff/concat-color-matrices
Functions for combining color matrices
https://github.com/iyegoroff/concat-color-matrices
color-matrix
Last synced: about 1 month ago
JSON representation
Functions for combining color matrices
- Host: GitHub
- URL: https://github.com/iyegoroff/concat-color-matrices
- Owner: iyegoroff
- License: mit
- Created: 2018-09-21T00:33:13.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T13:17:14.000Z (over 2 years ago)
- Last Synced: 2025-03-14T19:53:09.221Z (2 months ago)
- Topics: color-matrix
- Language: TypeScript
- Size: 1.06 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# concat-color-matrices
[](https://badge.fury.io/js/concat-color-matrices)
[](https://circleci.com/gh/iyegoroff/concat-color-matrices)
[](https://codecov.io/gh/iyegoroff/concat-color-matrices)
[](https://david-dm.org/iyegoroff/concat-color-matrices)
[](https://david-dm.org/iyegoroff/concat-color-matrices?type=dev)
[](src/index.d.ts)
[](https://www.npmjs.com/package/concat-color-matrices)Functions for combining color matrices
## Getting started
`$ npm install concat-color-matrices --save`
## Reference
### Functions
```typescript
concatColorMatrices(matrices: Matrix[]): Matrix
concatTwoColorMatrices(matB: Matrix, matA: Matrix): Matrix
```### Matrix type
- A 4x5 matrix for color transformations represented by array -
consult [Android docs](https://developer.android.com/reference/android/graphics/ColorMatrix)
for more specific info about it's format## Credits
- `concatTwoColorMatrices` function is based on Android SDK [sources](https://goo.gl/MMDopQ)