Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lemaik/chunky-dump-reader
A tiny util module to read Chunky dumps.
https://github.com/lemaik/chunky-dump-reader
Last synced: 2 days 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-30T21:34:01.000Z (almost 2 years ago)
- Last Synced: 2024-12-13T18:45:19.039Z (12 days ago)
- Language: JavaScript
- Size: 523 KB
- Stars: 0
- Watchers: 5
- 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