diff --git a/lib/pnglib.js b/lib/pnglib.js index eeac098..0a55917 100644 --- a/lib/pnglib.js +++ b/lib/pnglib.js @@ -201,7 +201,7 @@ module.exports = function(width,height,depth) { crc32(this.buffer, this.iend_offs, this.iend_size); // convert PNG to string - return "\211PNG\r\n\032\n"+this.buffer.join(''); + return "\x89PNG\r\n\x1A\n"+this.buffer.join(''); } };