Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for xps (0.05 sec)

  1. src/main/assemblies/files/generate-thumbnail

      if [[ ! -f ${tmp_png_file} ]] ; then
        echo "pdftoppm does not work."
        exit 1
      fi
      convert -thumbnail ${image_size} ${tmp_png_file} "${output_file}"
      rm -f ${tmp_png_prefix}*png
    elif [[ x"${cmd_type}" = "xps" ]] ; then
      check_command convert
      check_command pdftoppm
      check_command ps2pdf
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      tmp_pdf_file=/tmp/thumbnail.pdf.$$
      ps2pdf "${target_file}" ${tmp_pdf_file}
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Mon Jun 12 13:13:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top