Page 1 of 1

Problem with multipage tiff output

Posted: 2009-11-06T09:07:55-07:00
by raphael
Hello,

I do not succeed to produce multi-page tiff file using the convert command line of ImageMagick 6.4.1 06/09/08 on Centos 5.4 x86_64.
It simply puts the first image in the result file.
E.g.:
convert 1.png 2.png multi.tif ;; multi.tif then only contains 1.png (and is of the same size)
I also tried -adjoin which produce the same result. The -append correctly put images vertically in the result image.

I know such a command should work as it works well using 6.5.7 on Vista 64bits and I'm able to read it using IrfanView.

LIbtiff version is libtiff-3.8.2-7.el5_3.4.x86_64

Then I have tried to install ImageMagick-6.5.7-5 but I got the following error messages:

make all-am
make[1]: Entering directory `/root/ImageMagick-6.5.7-5'
CCLD coders/jp2.la
/usr/bin/ld: /usr/local/lib/libjasper.a(jas_stream.o): relocation
R_X86_64_32S against `a local symbol' can not be used when making a
shared object; recompile with -fPIC
/usr/local/lib/libjasper.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[1]: *** [coders/jp2.la] Error 1
make[1]: Leaving directory `/root/ImageMagick-6.5.7-5'
make: *** [all] Error 2


Any help would be welcome.
Thanks,
Raphaƫl.

Re: Problem with multipage tiff output

Posted: 2009-11-06T10:09:53-07:00
by magick
Do as the exception message suggests. Rebuild the Jasper library with the -fPIC gcc command line option. Check Google. There are hundreds of article that discuss this problem.