Skip to content

Commit

Permalink
Fix: color profile retrieval in ImageUniversalView
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed Dec 21, 2023
1 parent c3d8eab commit 77a4d29
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ struct ImageUniversalView: View {
.font(.caption)
.foregroundColor(.gray)
if let metadata = processImage.imageMetadata {
if let profileName = metadata.getMetadata(key: kCGImagePropertyExifColorSpace) as? String {
if let profileName = metadata.getMetadata(key: kCGImagePropertyProfileName) as? String {
Text("Color Profile: \(profileName)")
.font(.caption)
.foregroundColor(.gray)
Expand Down

0 comments on commit 77a4d29

Please sign in to comment.