public class AliyunSVideoUtils
extends java.lang.Object
Constructor and Description |
---|
AliyunSVideoUtils() |
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
|
public static boolean isHEIFImage(java.lang.String path)
path
- file path of the imagepublic static boolean convertHEIFImage(java.lang.String input, java.lang.String output, Bitmap.CompressFormat format, int quality)
input
- the input HEIF fle pathoutput
- target output file pathformat
- target output file formatquality
- target output file compress quality, range [0, 100], 0 meaning compress for small size, 100 meaning compress for max quality.