1.0.1 • Published 10 years ago

ppm-bin v1.0.1

Weekly downloads
-
License
-
Repository
-
Last release
10 years ago

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
1.0.1

10 years ago

1.0.0

10 years ago