GithubHelp home page GithubHelp logo

tom-weatherhead / thaw-image-processing.ts Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 2.31 MB

Raster image processing functions implemented in TypeScript

License: MIT License

JavaScript 1.92% TypeScript 98.08%
image-processing bicubic-interpolation bilinear-interpolation gaussian-blur resampling compositing

thaw-image-processing.ts's Introduction

thaw-image-processing.ts

Raster image processing functions implemented in TypeScript

Obligatory BadgeFest:

build status npm version latest tag npm total downloads watchers stars forks repo dependents pkg dependents commits last commit types install size known vulnerabilities lines of code technical debt maintainability test coverage tested with jest code style: prettier license FOSSA Status

Features

  • Written in pure TypeScript

Installation

To install the stable version:

npm install --save thaw-image-processing.ts

API Information

interface IThAWImage extends ImageData { ... }

function createThAWImage(
	width: number,
	height: number,
	bytesPerPixel?: number,
	bytesPerLine?: number,
	data?: Uint8ClampedArray
): IThAWImage { ... }
  • compositeImageFromBuffers()
  • convolveImageFromBuffer()
  • desaturateRGBA() (via mapColoursInImageFromBuffer())
  • flipImage() (via doAffineTransformation())
  • gaussianBlurImage()
  • mapColoursInImageFromBuffer()
  • mirrorImage() (via doAffineTransformation())
  • pixelateImage()
  • resampleImage() (nearest neighbour, bilinear, and bicubic)
  • rotate180DegreesFromImage()
  • rotate90DegreesClockwiseFromImage()
  • rotate90DegreesCounterclockwiseFromImage()

License

MIT

thaw-image-processing.ts's People

Contributors

tom-weatherhead avatar

Watchers

 avatar  avatar

Forkers

fossabot

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.