- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for pdf (0.32 sec)
-
src/main/assemblies/files/generate-thumbnail
check_command unoconv tmp_pdf_file=/tmp/thumbnail.$$.pdf unoconv -e PageRange=1-1 -o ${tmp_pdf_file} -f pdf "${target_file}" if [[ ! -f ${tmp_pdf_file} ]] ; then echo "unoconv does not work." exit 1 fi tmp_png_prefix=/tmp/thumbnail.png.$$ pdftoppm -png -singlefile ${tmp_pdf_file} ${tmp_png_prefix} tmp_png_file="${tmp_png_prefix}.png" rm -f ${tmp_pdf_file} if [[ ! -f ${tmp_png_file} ]] ; then
Shell Script - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Mon Jun 12 13:13:28 GMT 2023 - 2.5K bytes - Viewed (0)