Code: Select all
$image = Image::Magick->new;
$image -> Read('16161722_1.JPG', '16161722_2.JPG', '16161722_3.JPG');
$doc = $image -> Montage(geometry=>'800', tile=>'1x3');
$doc -> Write('pres.pdf');
The problem is that the resulting pdf is about 4MB large! But if I let my program write the finished image as a jpg-file and then use a simple convert from bash:
convert pres.jpg pres.pdf
the resulting pdf file is only a few kilobytes larger than the jpg, about 600KB. Are there some options to Write that I'm missing or?
Knut