Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FileType (0.2 sec)

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

      check_command convert
      target_file=$(echo "$url" | sed -e "s#^file:/*#/#g")
      convert -thumbnail ${image_size} "${target_file}" "${output_file}"
    elif [[ x"${cmd_type}" = "x" ]] ; then
      echo "No filetype."
      exit 1
    else
      echo "Unsupported type: ${cmd_type}"
      exit 1
    fi
    
    if [[ ! -f ${output_file} ]] ; then
      echo "Thumbnail is not created."
      exit 1
    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)
Back to top