tif to pdf 400 pages: WritePDFImage: Assertion `image->exception.reason != (const char *) ((void *)0)' failed.
Posted: 2015-08-11T18:53:59-07:00
Hello,
I get this error
when I try to convert 400 tif files to a pdf via
on Arch Linux with ImageMagick 6.9.1-10 Q16 x86_64 2015-08-05 on Arch Linux.
Any ideas why this is? Is my use not appropriate? Does anybody have suggestions for alternatives to create large jpeg-compressed pdf files from tif images on Linux?
PS: the commands are based on suggestions from viewtopic.php?t=23225
PPS:If I do:
Then it fails on the second part with
I get this error
Code: Select all
convert: coders/pdf.c:1814: WritePDFImage: Assertion `image->exception.reason != (const char *) ((void *)0)' failed.
Aborted
Code: Select all
convert -limit memory 2gb -limit map 2gb -density 300 *tif -compress jpeg -quality 100 400.pdf
Any ideas why this is? Is my use not appropriate? Does anybody have suggestions for alternatives to create large jpeg-compressed pdf files from tif images on Linux?
PS: the commands are based on suggestions from viewtopic.php?t=23225
PPS:If I do:
Code: Select all
for i in *tif; do convert -density 300 $i -compress jpeg -quality 100 $i.jpg; echo $i done; done
pdfjoin *jpg 400.pdf
Code: Select all
pdfjam: Calling pdflatex...
pdfjam: FAILED.
The call to 'pdflatex' resulted in an error.
If '--no-tidy' was used, you can examine the
log file at
/var/tmp/pdfjam-ass4wk/a.log
to try to diagnose the problem.
pdfjam ERROR: Output file not written