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. Also, I don't know if ghostscript is kept up to date with the newer versions of PDFs. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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
On 4/5/07, Bruce Marshall
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
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: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Friday 2007-04-06 at 11:32 -0400, Greg Freemyer wrote:
Thanks to all 3 responses, but I'm still having a few issues.
You could also try "The Gimp". I don't remember if it reads pdf directly, but if not, it can read ps, and there is a pdf2ps convertor. There is also a pdftoppm converter, and a ppm2tiff. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFGFoVftTMYHG2NR9URAkh6AJ4+LJ6cQyCY/1+RqxmxzTNaBHNl9gCeIy5F 68XZI6CvS7KLYF46r271QP4= =fIJY -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 4/6/07, Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
The Friday 2007-04-06 at 11:32 -0400, Greg Freemyer wrote:
Thanks to all 3 responses, but I'm still having a few issues.
You could also try "The Gimp". I don't remember if it reads pdf directly, but if not, it can read ps, and there is a pdf2ps convertor.
There is also a pdftoppm converter, and a ppm2tiff.
Thanks pdftoppm / ppm2tiff look like a very promising pair of tools. Much faster than convert from what I've seen and very good quality at least on the one pdf I ran as a quick test. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
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.
Also, I don't know if ghostscript is kept up to date with the newer versions of PDFs.
Greg Try the convert command from Image Magic an RPM that comes with SUSE.
convert filename.pdf filename.tiff should do the trick I would think. Cheers, Bob -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* Greg Freemyer
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.
ImageMagick/convert man imagemagick: ImageMagick supports many image formats (over 90 major formats) including popular formats like TIFF, JPEG, PNG, PDF, PhotoCD, and GIF. convert convert between image formats as well as resize an image, blur, crop, despeckle, dither, draw on, flip, join, re-sample, and much more. -- Patrick Shanahan Registered Linux User #207535 http://wahoo.no-ip.org @ http://counter.li.org HOG # US1244711 Photo Album: http://wahoo.no-ip.org/gallery2 OpenSUSE Linux http://en.opensuse.org/ -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Bruce Marshall
-
Carlos E. R.
-
Greg Freemyer
-
Patrick Shanahan
-
Robert Lewis