This works sometimes. Well, it does give me a new tiff file from the pdf
all of the time, but it is not always anywhere near the same size as the
original tiff. My guess is that maybe there is a flag or somethign that
woulf help. Here is what I get with one fil:
ecorrado@ecorrado:~/Desktop/test$ convert -compress none A001a.tif A001a.pdf
ecorrado@ecorrado:~/Desktop/test$ convert -compress none A001a.pdf A001b.tif
ecorrado@ecorrado:~/Desktop/test$ ls -al
total 361056
drwxrwxr-x 2 ecorrado ecorrado 4096 Apr 26 17:07 .
drwxr-xr-x 7 ecorrado ecorrado 20480 Apr 26 16:54 ..
-rw-rw-r-- 1 ecorrado ecorrado 38497046 Apr 26 17:07 A001a.pdf
-rw-r--r-- 1 ecorrado ecorrado 38178650 Apr 26 17:07 A001a.tif
-rw-rw-r-- 1 ecorrado ecorrado 5871196 Apr 26 17:07 A001b.tif
In this case, the two tif files should be the same size. They are not even
close. Maybe there is a flag to convert (besides compress) that I can use.
FWIW: I tried three files/ 2 are like this. The other one, the resulting
tiff is the same size as the original.
Edward
On Fri, Apr 26, 2013 at 4:25 PM, Aaron Addison <[log in to unmask]>wrote:
> Imagemagick's convert will do it both ways.
>
> convert a.tiff b.pdf
> convert b.pdf a.tiff
>
> If the pdf is more than one page, the tiff will be a multipage tiff.
>
> Aaron
>
> --
> Aaron Addison
> Unix Administrator
> W. E. B. Du Bois Library UMass Amherst
> 413 577 2104
>
>
>
> On Fri, 2013-04-26 at 16:08 -0400, Edward M. Corrado wrote:
> > Hi All,
> >
> > I have a need to batch convert many TIFF images to PDF. I'd then like to
> be
> > able to discard the TIFF images, but I can only do that if I can create
> the
> > original TIFF again from the PDF. Is this possible? If so, using what
> tools
> > and how?
> >
> > tiff2pdf seems like a possible solution, but I can't find a corresponding
> > "pdf2tif" program that reverses the process.
> >
> > Any ideas?
> >
> > Edward
>
|