Update ExifUtils.kt

This commit is contained in:
2025-10-27 14:13:50 +08:00
parent cbcea2719a
commit c85d2873d5
@@ -23,9 +23,7 @@ fun formatExposureTime(t: Double): String {
}
data class ExifResult(val shutterInfo: String, val cameraInfo: String, val dateTime: String, val location: String, val urlName: String, val w: Int, val h: Int, val raw: ImageMetadata, val d: PhotoMetadata) {
override fun toString(): String {
return "Date/Time: $dateTime\nLocation: $location\nCamera Info: $cameraInfo\nShutter Info: $shutterInfo\nURL Name: $urlName"
}
override fun toString() = "Date/Time: $dateTime\nLocation: $location\nCamera Info: $cameraInfo\nShutter Info: $shutterInfo\nURL Name: $urlName"
}
suspend fun parseExif(data: ByteArray): ExifResult? {