Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tom-weatherhead/image-processing-js
A pure JavaScript raster image processing engine: Affine transformations, convolutions, compositing, etc.
https://github.com/tom-weatherhead/image-processing-js
compositing convolution-filter image-processing resampling
Last synced: about 1 month ago
JSON representation
A pure JavaScript raster image processing engine: Affine transformations, convolutions, compositing, etc.
- Host: GitHub
- URL: https://github.com/tom-weatherhead/image-processing-js
- Owner: tom-weatherhead
- License: mit
- Created: 2018-04-18T00:52:43.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:17:12.000Z (about 2 years ago)
- Last Synced: 2024-12-17T16:32:49.194Z (2 months ago)
- Topics: compositing, convolution-filter, image-processing, resampling
- Language: JavaScript
- Homepage:
- Size: 2.84 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# image-processing-js
A pure JavaScript raster image processing engine.[](https://travis-ci.org/tom-weatherhead/image-processing-js)
[](https://www.npmjs.com/package/image-processing-js)
[](https://www.npmjs.com/package/image-processing-js)
[](https://codeclimate.com/github/tom-weatherhead/image-processing-js/maintainability)
[](https://snyk.io/test/github/tom-weatherhead/image-processing-js?targetFile=package.json&package-lock.json)
[](https://github.com/tom-weatherhead/image-processing-js/blob/master/LICENSE)## Installation
Clone the repository and build it:
```sh
$ git clone https://github.com/tom-weatherhead/image-processing-js.git
$ cd image-processing-js
$ npm run build
```Then run an image processing command; e.g.
```sh
$ npm start -- rs
$ npm start -- rs -sc -w 640 -h 480 -q 60
```Supported bitmap image processing operations:
```
- Colour transformations
- Compositing
- Convolvutions, including Gaussian blur
- Flip and mirror
- Pixelate
- Resampling: Nearest neighbour, bilinear, and bicubic
- Rotation
```TODO:
```
- Implement and test resampling in context
- Test the new dividend remapping algorithm
- Attempt to improve the performance of the arithmetic code by using integer types such as UINT16,
and optimized operations such as (x / 256) === (x >> 8);
- Add unit tests
```## License
[MIT](https://choosealicense.com/licenses/mit/)