![](https://secure.gravatar.com/avatar/bbd235faba6f831676bbc0425dbe61ef.jpg?s=120&d=mm&r=g)
Hello, I need transform some presentation into series of jpeg files. Is it possible directly from ConTeXt or I have to use some external tools for conversion? What is the easiest way in any case? -- best regards ml.
![](https://secure.gravatar.com/avatar/75dc6ef5c344c5b25200e44d4088ef2a.jpg?s=120&d=mm&r=g)
On Mon, 29 Oct 2007 10:46:06 +0100 context@fr.pl wrote:
Hello,
I need transform some presentation into series of jpeg files. Is it possible directly from ConTeXt or I have to use some external tools for conversion? What is the easiest way in any case?
Hi You can make a script to export pages from your document using ghostscript like that: gs -dFirstPage=1 -dLastPage=1 -sDEVICE=jpeg -r150 -sOutputFile=page1.jpg -dBATCH -q -dNOPAUSE -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -dMaxBitmap=50000000 document.pdf
![](https://secure.gravatar.com/avatar/44ca9eda7aaa681c0e3b3e90125c56b0.jpg?s=120&d=mm&r=g)
context@fr.pl schrieb:
Hello,
I need transform some presentation into series of jpeg files. Is it possible directly from ConTeXt or I have to use some external tools for conversion? What is the easiest way in any case?
use ghostview/ghostscript to convert your pdf presentation into jpg (device jpg). but i'm clueless, why someone wants a pixel based representation, when (s)he already has a pdf document. Peter
![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Mon, 29 Oct 2007, Peter Rolf wrote:
context@fr.pl schrieb:
Hello,
I need transform some presentation into series of jpeg files. Is it possible directly from ConTeXt or I have to use some external tools for conversion? What is the easiest way in any case?
use ghostview/ghostscript to convert your pdf presentation into jpg (device jpg). but i'm clueless, why someone wants a pixel based representation, when (s)he already has a pdf document.
And incase you do need that, please go for png instead of jpeg. Jpeg is a horrible for format to store a few black stokes on a white background. Aditya
participants (4)
-
Aditya Mahajan
-
context@fr.pl
-
Peter Rolf
-
zs