https://github.com/lemaik/chunky-dump-reader
A tiny util module to read Chunky dumps.
https://github.com/lemaik/chunky-dump-reader
Last synced: about 2 months ago
JSON representation
A tiny util module to read Chunky dumps.
- Host: GitHub
- URL: https://github.com/lemaik/chunky-dump-reader
- Owner: leMaik
- Created: 2016-10-17T22:18:47.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T21:34:01.000Z (over 2 years ago)
- Last Synced: 2025-04-09T21:49:21.187Z (about 2 months ago)
- Language: JavaScript
- Size: 523 KB
- Stars: 0
- Watchers: 4
- Forks: 1
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# chunky-dump-reader
This module exposes a function to get width, height, spp and render time from a [Chunky][chunky] render dump stream.
## Installation
`npm i --save chunky-dump-reader`## Usage
```js
const { getDumpInfo } = require('chunky-dump-reader')
getDumpInfo(dumpStream).then((info) => {
// info = {
// width width in pixels
// height height in pixels
// spp samples per pixel
// renderTime render time in ms
// }
})
```## License
The files included in this repository are licensed under the MIT license.[chunky]: https://github.com/llbit/chunky