Нужно сделать over много миниатюр из over столько же pdf файлов. Но вот незадача:
convert -thumbnail x120 ./1.pdf[0] ./1.jpeg
error: cannot decode code stream
unable to decode JPX image data.
**** Warning: File has insufficient data for an image.
**** This file had errors that were repaired or ignored.
**** The file was produced by:
**** >>>> Adobe Acrobat 9.0 Image Conversion Plug-in <<<<
**** Please notify the author of the software that produced this
**** file that it does not conform to Adobe's published PDF
**** specification.
ImageMagick 6.6.2-0 2010-05-25 Q16
Linux arch 2.6.34-ARCH
Ghostscript 8.71 (2010-02-10)