[magick-users] Problem with a multipage pdf file

Ron Savage ron at savage.net.au
Thu Feb 8 23:55:40 CST 2007


Hi Bob

> $ convert * all.pdf.

> This did indeed add all of the individual pages into one pdf file.
> However,
> the resulting pdf seemed to have been a degraded version of all the
> individual pdf's.  While I can clearly read all of the individual pdf's,

Probably because IM rasterized each image. Try a Perl program:

#!/usr/bin/perl
#
# Name:
#	pdf-combiner.pl.

use strict;
use warnings;

use PDF::Reuse;

# -------------

prFile('combo.pdf');

for (qw/a b c d/)
{
	prImage("$_.pdf"); # If not prImage, then...?
	prPage();
}

prEnd();

--
Ron Savage
ron at savage.net.au
http://savage.net.au/index.html


More information about the Magick-users mailing list