-
Notifications
You must be signed in to change notification settings - Fork 490
Description
as title describe, the lib version is latest released 2.19.0
I have got an image photograpy by samsung file, the image format is heif embedded with video.
I want to extract and play the video, but after use code as below.
`
val metaData = ImageMetadataReader.readMetadata(file)
metaData?.directories?.forEach {
Log.d(TAG, ">>>> metaData, name=${it.name}, class=${it::class.java}")
Log.d(TAG, "tag=${it.tags?.joinToString(", ")}, errors=${it.errors}")
}
`
the log only print HeifDirectory、ExifIFD0Directory、ExifSubIFDDirectory、GpsDirectory、FileTypeDirectory、FileSystemDirectory,
no XmpDirectory included.
I use exif-viewer(https://stefan-oltmann.de/exif-viewer/) parse the image, it has Xmp data.
when I use an another image which format is jpeg and embedded video, it has XmpDirectory, other directory like JpegDirectory、ExifIFD0Directory、IccDirectory etc...
can someone help me how to resolve this problem, the problem image is uploaded as samsung.zip, unzip it and get the samsung.heif
thanks.