|
@@ -47,6 +47,7 @@ object ImageUtil {
|
|
|
Format.Gif -> ImageType.GIF
|
|
|
Format.Heif -> ImageType.HEIF
|
|
|
Format.Jpeg -> ImageType.JPEG
|
|
|
+ Format.Jxl -> ImageType.JXL
|
|
|
Format.Png -> ImageType.PNG
|
|
|
Format.Webp -> ImageType.WEBP
|
|
|
else -> null
|
|
@@ -93,6 +94,7 @@ object ImageUtil {
|
|
|
GIF("image/gif", "gif"),
|
|
|
HEIF("image/heif", "heif"),
|
|
|
JPEG("image/jpeg", "jpg"),
|
|
|
+ JXL("image/jxl", "jxl"),
|
|
|
PNG("image/png", "png"),
|
|
|
WEBP("image/webp", "webp"),
|
|
|
}
|