Yeah, that´s it! Thank you, Johannes! I tried...: $gs -sDEVICE=jpeg -sOutputFile=thinking%d.jpg TIJ2.PDF -c quit ...and it worked well. As I have some PDF I wish to read them watching tv (on my dvd player). I will try with different resolutions now. embraces... a. Johannes Meixner escreveu:
Hello,
I didn't read any previous messages in this thread but...
On Feb 26 19:21 John Lamb wrote (shortened):
Try gimp. It can import PostScript.
... why use Gimp when there are two Ghostscript devices which produce JPEG?
For me the Ghostscript devices for JPEG RGB output and for JPEG gray output work well:
gs -dNOPAUSE -sDEVICE=jpeg -sOutputFile=/tmp/colorcir.rgb.jpeg \ /usr/share/doc/packages/ghostscript/examples/colorcir.ps quit.ps
gs -dNOPAUSE -sDEVICE=jpeggray -sOutputFile=/tmp/colorcir.gray.jpeg \ /usr/share/doc/packages/ghostscript/examples/colorcir.ps quit.ps
file /tmp/colorcir.*.jpeg results
/tmp/colorcir.gray.jpeg: JPEG image data, JFIF standard 1.01, resolution (DPI), 72 x 72
/tmp/colorcir.rgb.jpeg: JPEG image data, JFIF standard 1.01, resolution (DPI), 72 x 72
Even different resolutions work well:
gs -dNOPAUSE -sDEVICE=jpeg -r144x144 -sOutputFile=/tmp/colorcir.rgb.jpeg \ /usr/share/doc/packages/ghostscript/examples/colorcir.ps quit.ps
gs -dNOPAUSE -sDEVICE=jpeggray -r36x36 -sOutputFile=/tmp/colorcir.gray.jpeg \ /usr/share/doc/packages/ghostscript/examples/colorcir.ps quit.ps
results
/tmp/colorcir.gray.jpeg: JPEG image data, JFIF standard 1.01, resolution (DPI), 36 x 36
/tmp/colorcir.rgb.jpeg: JPEG image data, JFIF standard 1.01, resolution (DPI), 144 x 144
Printing them (using CUPS) via lp -d <queue> -o scaling=50 /tmp/colorcir.gray.jpeg and lp -d <queue> -o scaling=50 /tmp/colorcir.rgb.jpeg shows that the lower/higher resolution is really "inside" the JPEG.
You cannot really verify resolutions higher than something like 72x72 DPI by viewing them on the screen because the screen resolution is limited to something like 72x72 DPI. But when you display them using for example xv /tmp/colorcir.gray.jpeg and xv /tmp/colorcir.rgb.jpeg then the second has quadrupled size of the first which indicates the four times higher resolution.
Regards, Johannes Meixner