Package Exports
- thaw-image-processing.ts
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (thaw-image-processing.ts) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
thaw-image-processing.ts
Raster image processing functions implemented in TypeScript
Obligatory BadgeFest:
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())
- Gaussian Blur
- mapColoursInImageFromBuffer()
- mirrorImage() (via doAffineTransformation())
- pixelateImageFromBuffer()
- resampleImageFromBuffer() (nearest neighbour, bilinear, and bicubic)
- rotate180DegreesFromImage()
- rotate90DegreesClockwiseFromImage()
- rotate90DegreesCounterclockwiseFromImage()