gs pdf tiff for multiple pages
C M Reinehr
cmr at amsent.com
Wed Dec 16 13:18:46 PST 2009
On Wed 16 December 2009 03:03:51 pm Vu Pham wrote:
> I use the following command to convert a pdf file to a tiff file:
>
> #gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4
> -sOutputFile=/home/vu/test/b.tif /home/vu/test/b.pdf
>
> This command converts only the first page of the pdf.
>
> I can use %d in the output file to have multiple output files, each for
> one page of the Pdf:
> #gs -q -dNOPAUSE -dBATCH -sDEVICE=tiffg4
> -sOutputFile=/home/vu/test/b%4.tif /home/vu/test/b.pdf
>
> but I need the output to be one file with multiple pages.
>
> Can I do it with gs ?
>
> Is there any command line tool out there other than gs to do this job ?
>
> Thanks,
> Vu
Vu,
I don't know about gs but tiffcp looks like it will do the job for you:
"tiffcp combines one or more files created according to the Tag Image File
Format, Revision 6.0 into a single TIFF file."
On Debian systems tiffcp is found in the libtiff-tools package.
HTH!
cmr
--
Debian 'Etch' - Registered Linux User #241964
--------
"More laws, less justice." -- Marcus Tullius Ciceroca, 42 BC
More information about the Linux-users
mailing list