On 4/5/07, Bruce Marshall <[EMAIL PROTECTED]> wrote:
On Thursday 05 April 2007 17:29, Greg Freemyer wrote:
> All,
>
> Is there a tool for converting PDFs to TIFFs?
>
> Command Line preferred, but not required if I can do a directories
> worth at a time.
>
> I was thinking of something like ghostscript, but I don't know if it
> can produce TIFFs.
convert will convert almost anything.......
convert <filename.pdf> <filename.tiff>
Thanks to all 3 responses, but I'm still having a few issues.
I've found "convert +adjoin -monochrome ActiveRbacManual.pdf
ActiveRbacManual.tiff" creates single page B&W TIFFs.
Issue 1: I want greyscale, and I think the above is truly black &
white. Is there a way to get greyscale?
Issue 2: the resolution (DPI) is only 75x75. Unacceptably low, but
when I try adding "-density 300x300" I get:
===
convert -density 300x300 +adjoin ActiveRbacManual.pdf ActiveRbacManual.tiff
ERROR: /ioerror in --.outputpage--
Operand stack:
1 true
Execution stack:
%interp_exit .runexec2 --nostringval-- --nostringval--
--nostringval-- 2 %stopped_push --nostringval--
--nostringval-- --nostringval-- false 1 %stopped_push 1 3
%oparray_pop 1 3 %oparray_pop 1 3 %oparray_pop
--nostringval-- --nostringval-- 14 1 43 --nostringval--
%for_pos_int_continue --nostringval-- --nostringval-- 0 9
%oparray_pop --nostringval-- --nostringval--
Dictionary stack:
--dict:1142/3371(ro)(G)-- --dict:0/20(G)-- --dict:107/200(L)--
--dict:107/200(L)-- --dict:104/127(ro)(G)--
--dict:241/347(ro)(G)-- --dict:20/24(L)-- --dict:4/6(L)--
--dict:23/31(L)--
Current allocation mode is local
Last OS error: 28
ESP Ghostscript 8.15.3: Unrecoverable error, exit code 1
convert: unable to read image data `/tmp/magick-XXDVMJt8'.
convert: Postscript delegate failed `ActiveRbacManual.pdf'.
convert: missing an image filename `ActiveRbacManual.tiff'.
===
I tried this in a cygwin environment and it works (very slowly), so I
guess I need to file a bug report unless someone knows that I'm doing
something wrong.
Greg
--
Greg Freemyer
The Norcross Group
Forensics for the 21st Century
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]