# concat-frames

> Concatenate a pixel-stream into an array of frames

Latest version **1.0.3** (published 2015-03-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install concat-frames
pnpm add concat-frames
yarn add concat-frames
bun add concat-frames
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2015-03-06 |
| First published | 2014-11-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Devon Govett |
| Maintainers | devongovett |
| Keywords | pixel-stream, image |

## Links

- npm: https://www.npmjs.com/package/concat-frames
- Repository: https://github.com/devongovett/concat-frames
- Issues: https://github.com/devongovett/concat-frames/issues
- npm.io page: https://npm.io/package/concat-frames

## Dependencies (1)

- [pixel-stream](https://npm.io/package/pixel-stream.md) ^1.0.3

## Alternatives

- [byte-size](https://npm.io/package/byte-size.md) — 2.1M weekly downloads
- [speed-limiter](https://npm.io/package/speed-limiter.md) — 16.0K weekly downloads
- [@powersync/node](https://npm.io/package/@powersync/node.md) — 10.9K weekly downloads
- [@ledgerhq/coin-cardano](https://npm.io/package/@ledgerhq/coin-cardano.md) — 1.0K weekly downloads
- [@jayesol/jayeson.lib.streamfinder](https://npm.io/package/@jayesol/jayeson.lib.streamfinder.md) — 1.0K weekly downloads

## Recent versions

- 1.0.3 (latest) — 2015-03-06
- 1.0.2 — 2015-02-09
- 1.0.1 — 2014-11-19
- 1.0.0 — 2014-11-15

## README

# concat-frames

Concatenates a pixel-stream into an array of frame objects. This is useful for testing purposes,
and cases where you want an entire image frame at once, rather than a stream.

## Installation

    npm install concat-frames

## Example

The following example produces an array of frames from an animated GIF
using [gif-stream](https://github.com/devongovett/gif-stream).

```javascript
var concat = require('concat-frames');
var GIFDecoder = require('gif-stream/decoder');

fs.createReadStream('in.gif')
  .pipe(new GIFDecoder)
  .pipe(concat(function(frames) {
    // frames is an array of frame objects.
    // each one has a `pixels` property containing
    // the raw RGB pixel data for that frame, as
    // well as the width, height, etc.
  }));
```

## License

MIT

---
_Source: https://npm.io/package/concat-frames · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
