/**
   * Get intent to call activity for crop an image from official google app
   *
   * @param pm PackageManager
   * @param source File of source image file
   * @param destination File of destination file
   * @param aspectX X ratio
   * @param aspectY Y ratio
   * @return intent
   * @throws IntentException if intent is not reachable (official google app removed)
   * @deprecated
   */
  public static Intent intentCropImage(
      PackageManager pm, File source, File destination, int aspectX, int aspectY)
      throws IntentException {

    return Image.intentCropImage(
        pm, Uri.fromFile(source), Uri.fromFile(destination), aspectX, aspectY);
  }
  /**
   * Get intent to call activity for crop an image from official google app
   *
   * @param pm PackageManager
   * @param source String of source image file
   * @param destination String of destination file
   * @param aspectX X ratio
   * @param aspectY Y ratio
   * @return intent
   * @throws IntentException if intent is not reachable (official google app removed)
   * @deprecated
   */
  public static Intent intentCropImage(
      PackageManager pm, String source, String destination, int aspectX, int aspectY)
      throws IntentException {

    return Image.intentCropImage(pm, new File(source), new File(destination), aspectX, aspectY);
  }