Mercurial > hg > nodescore
diff rasterize.js @ 31:e4d2a8eb1450
widescreen style aspect ratio
for music
still sttuggling with memory leak releated to stop in transport controls
author | tzara <rc-web@kiben.net> |
---|---|
date | Thu, 16 Aug 2012 07:17:03 +0000 |
parents | ea19684cd1db |
children | c4719d1b7633 |
line wrap: on
line diff
--- a/rasterize.js Wed Aug 08 00:58:11 2012 +0000 +++ b/rasterize.js Thu Aug 16 07:17:03 2012 +0000 @@ -4,7 +4,7 @@ top = system.args[3]; -page.clipRect = { top: top, left: 0, width: 800, height: 400 } +page.clipRect = { top: top, left: 0, width: 1000, height: 400 } if (system.args.length < 3 || system.args.length > 5) { console.log('Usage: rasterize.js URL filename [paperwidth*paperheight|paperformat] [zoom]'); @@ -15,7 +15,7 @@ output = system.args[2]; - page.viewportSize = { width: 1024, height: 400 }; + page.viewportSize = { width: 1000, height: 400 }; if (system.args.length > 4 && system.args[2].substr(-4) === ".pdf") { size = system.args[4].split('*'); page.paperSize = size.length === 2 ? { width: size[0], height: size[1], margin: '0px' }