# webgpu-lut-filter

> Use WebGPU to render images based on LUT filter images

Latest version **1.0.1** (published 2021-12-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install webgpu-lut-filter
pnpm add webgpu-lut-filter
yarn add webgpu-lut-filter
bun add webgpu-lut-filter
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: has types; no vulnerabilities.

Warnings: low downloads; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2021-12-10 |
| First published | 2021-12-10 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 8.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | lijialiangdev@gmail.com |
| Maintainers | yyued |
| Keywords | webgpu, lut, filter |

## Links

- npm: https://www.npmjs.com/package/webgpu-lut-filter
- Repository: https://github.com/lijialiang/webgpu-lut-filter
- Homepage: https://github.com/lijialiang/webgpu-lut-filter#readme
- Issues: https://github.com/lijialiang/webgpu-lut-filter/issues
- npm.io page: https://npm.io/package/webgpu-lut-filter

## Recent versions

- 1.0.1 (latest) — 2021-12-10
- 0.0.0 — 2021-12-10

## README

# webgpu-lut-filter &middot; [![npm version](https://img.shields.io/npm/v/webgpu-lut-filter?style=flat)](https://www.npmjs.com/package/webgpu-lut-filter)

Use WebGL to render images based on LUT filter images([example](./__test__/filter.png)).

[Playground](https://webgpu-lut-filter.stackblitz.io/)

### CDN

```html
<script src="https://cdn.jsdelivr.net/npm/webgpu-lut-filter/index.js"></script>
```

### NPM

```sh
$ npm i webgpu-lut-filter
# or
$ yarn add webgpu-lut-filter
```

## How to use

```js
import lutFilter from 'webgpu-lut-filter'

lutFilter({
  canvas: <HTMLCanvasElement>,
  image: <HTMLImageElement>,
  filterImage: <HTMLImageElement>
})
```

---
_Source: https://npm.io/package/webgpu-lut-filter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
