ppm-bin

1.0.1 • Public • Published

node-ppm-bin

Portable pixmap Binary to png converter.

https://en.wikipedia.org/wiki/Netpbm_format

Supports Magic Number P6. Produced by qemu qmp command:

screendump
----------

Save screen into PPM image.

Arguments:

- "filename": file path (json-string)

Example:

-> { "execute": "screendump", "arguments": { "filename": "/tmp/image" } }
<- { "return": {} }

usage:

ppmbin = require 'ppm-bin'

ppmbin.convert 'image.ppm', 'image.png', (err) ->
  console.log err

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    2
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    2
  • 1.0.0
    1

Package Sidebar

Install

npm i ppm-bin

Weekly Downloads

3

Version

1.0.1

License

none

Last publish

Collaborators

  • baslr