Reference: http://www.cnblogs.com/xcp19870712/p/4760842.html
1. yum install libreoffice.x86_64 2. yum install unoconv 3. soffice --accept="socket,host=127.0.0.1,port=8100;urp;"-display :1& 4. unoconv -f pdf -o 1.pdf 1.docx or unoconv -f pdf * .docx
Note: The monitor selection will appear for the first conversion, and the subsequent direct conversion can be
continue:
Convert pdf to image, install ImageMagick
1. yum install ImageMagick 2. convert -verbose -density 150 -trim 111.pdf -quality 70 -sharpen 0x1.0 111.jpg
will generate 110-0.jpg, 110-1.jpg..........
The meaning of specific parameters has not been studied yet