Notwithstanding Previous Misdemeanors
    Wondering what’s next for npm?Check out our public roadmap! »

    thaw-image-processing.ts
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.2 • Public • Published

    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

    Install

    npm i thaw-image-processing.ts

    DownloadsWeekly Downloads

    4

    Version

    0.0.2

    License

    MIT

    Unpacked Size

    73.4 kB

    Total Files

    37

    Last publish

    Collaborators

    • avatar