com.aliyun.svideosdk.common.utils

## Class AliyunSVideoUtils

- java.lang.Object
- - com.aliyun.svideosdk.common.utils.AliyunSVideoUtils

-     public class AliyunSVideoUtils
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AliyunSVideoUtils()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static boolean` | `convertHEIFImage(java.lang.String input, java.lang.String output, Bitmap.CompressFormat format, int quality)` convert HEIF image to other format
    `static boolean` | `isHEIFImage(java.lang.String path)` check if the file is HEIF image

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### AliyunSVideoUtils

          public AliyunSVideoUtils()

  - ### Method Detail

    - #### isHEIFImage

          public static boolean isHEIFImage(java.lang.String path)

      check if the file is HEIF image
      Parameters:
        `path` - file path of the image
      Returns:
        if file is HEIF format return true, otherwise return false

    - #### convertHEIFImage

          public static boolean convertHEIFImage(java.lang.String input,
                                                 java.lang.String output,
                                                 Bitmap.CompressFormat format,
                                                 int quality)

      convert HEIF image to other format
      Parameters:
        `input` - the input HEIF fle path
        `output` - target output file path
        `format` - target output file format
        `quality` - target output file compress quality, range [0, 100], 0 meaning compress for small size, 100 meaning compress for max quality.