Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

pam-diff

Package Overview
Dependencies
Maintainers
1
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pam-diff - npm Package Compare versions

Comparing version 0.12.0 to 0.12.1

8

lib/pixel-change.js

@@ -115,8 +115,2 @@ 'use strict';

module.exports = PixelChange;
//todo(ne) - should always return array
//todo(ne) - array will only be populated when percent >= percent
//todo(ne) - percent will have to be passed into method
//todo - will have to test this behavior on n-api module first to maintain symmetry
//todo(ne) - check integrity of data before sending here to be processed
module.exports = PixelChange;

3

package.json
{
"name": "pam-diff",
"version": "0.12.0",
"version": "0.12.1",
"description": "Measure differences between pixel arrays extracted from pam images",

@@ -42,2 +42,3 @@ "main": "index.js",

"devDependencies": {
"ffmpeg-static": "^2.1.0",
"jsdoc": "^3.5.5",

@@ -44,0 +45,0 @@ "pipe2pam": "^0.6.2"

# pam-diff
###### [![Build Status](https://travis-ci.org/kevinGodell/pam-diff.svg?branch=master)](https://travis-ci.org/kevinGodell/pam-diff) [![Build status](https://ci.appveyor.com/api/projects/status/hu6qw285sm6vfwtd/branch/master?svg=true)](https://ci.appveyor.com/project/kevinGodell/pam-diff/branch/master) [![GitHub issues](https://img.shields.io/github/issues/kevinGodell/pam-diff.svg)](https://github.com/kevinGodell/pam-diff/issues) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/kevinGodell/pam-diff/master/LICENSE)
Measure differences between pixel arrays extracted from pam images. Works well with node module [pipe2pam](https://www.npmjs.com/package/pipe2pam) to extract pam images from an ffmpeg pipe. Supported ***tupltypes*** are ***rgb***, ***rgb_alpha***, ***grayscale***, and ***blackandwhite***. It is currently being used for a video motion detection project.
###### [![dependencies Status](https://david-dm.org/kevinGodell/pam-diff/master/status.svg)](https://david-dm.org/kevinGodell/pam-diff/master) [![Build Status](https://travis-ci.org/kevinGodell/pam-diff.svg?branch=master)](https://travis-ci.org/kevinGodell/pam-diff) [![Build status](https://ci.appveyor.com/api/projects/status/hu6qw285sm6vfwtd/branch/master?svg=true)](https://ci.appveyor.com/project/kevinGodell/pam-diff/branch/master) [![GitHub issues](https://img.shields.io/github/issues/kevinGodell/pam-diff.svg)](https://github.com/kevinGodell/pam-diff/issues) [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://raw.githubusercontent.com/kevinGodell/pam-diff/master/LICENSE)
Measure differences between pixel arrays extracted from pam images. Works well with node module [pipe2pam](https://www.npmjs.com/package/pipe2pam) to extract pam images from an ffmpeg pipe. Supported ***tupltypes*** are ***rgb***, ***rgb_alpha***, and ***grayscale***. It is currently being used for a video motion detection project.
### installation:
```
npm install pam-diff --save
npm install pam-diff@latest --save
```
### installation of experimental n-api version:
```
npm install pam-diff@n-api --save
```
**To run the example below, also install pipe2pam:**

@@ -105,2 +109,4 @@ ```

ffmpeg.stdout.pipe(p2p).pipe(pamDiff);
```
```
See [tests](https://github.com/kevinGodell/pam-diff/tree/master/tests) or [examples](https://github.com/kevinGodell/pam-diff/tree/master/examples) for more implementations.
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc