Le 21/11/2013 21:54, Bjoern Hassler a écrit :
Yes, I have tried it, and got a very large,
unpaginated image of it.
Would you possibly be able to send me the url for the page your tried
(off list), as well as the output? (Perhaps plus the version of
phantomjs, OS, and the js script or a link to it?)
That would be very helpful. I'll try to generate it for the same url,
and see how the output differs.
I have tried myself on Ubuntu 13.10 with phantomjs package:
$phantomjs /usr/share/doc/phantomjs/examples/rasterize.js
'http://en.wikipedia.org/' enwiki.pdf
The output is available here:
http://tmp.kiwix.org/enwiki.pdf
Like you can see the text can be selected, so this is not a big image.
But, at the same time, we have an OSX specific bug, which maybe explains
your result:
https://github.com/ariya/phantomjs/issues/10373
Emmanuel
--
Kiwix - Wikipedia Offline & more
* Web:
http://www.kiwix.orghttp://tmp.kiwix.org/enwiki.pdf
* Twitter:
https://twitter.com/KiwixOffline
* more:
http://www.kiwix.org/wiki/Communication