png-sync.js 254 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 'use strict'; var parse = require('./parser-sync'); var pack = require('./packer-sync'); exports.read = function(buffer, options) { return parse(buffer, options || {}); }; exports.write = function(png, options) { return pack(png, options); };