Skip to content

baslr/node-ppm-bin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Portable pixmap Binary to png converter

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published