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 6 hours 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 (over 6 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T02:17:12.000Z (almost 2 years ago)
- Last Synced: 2024-11-06T23:09:13.959Z (10 days 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.[![Build Status](https://secure.travis-ci.org/tom-weatherhead/image-processing-js.svg)](https://travis-ci.org/tom-weatherhead/image-processing-js)
[![npm](https://img.shields.io/npm/v/image-processing-js.svg)](https://www.npmjs.com/package/image-processing-js)
[![npm](https://img.shields.io/npm/dt/image-processing-js.svg)](https://www.npmjs.com/package/image-processing-js)
[![Maintainability](https://api.codeclimate.com/v1/badges/caaec44ebfcb74999b13/maintainability)](https://codeclimate.com/github/tom-weatherhead/image-processing-js/maintainability)
[![Known Vulnerabilities](https://snyk.io/test/github/tom-weatherhead/image-processing-js/badge.svg?targetFile=package.json&package-lock.json)](https://snyk.io/test/github/tom-weatherhead/image-processing-js?targetFile=package.json&package-lock.json)
[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](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/)