HDR Media Type and Photo Indicator

Is there a way to add the HDR as a Media Type where it lists Videos, Selfies, etc?


User uploaded file


Also, can I somehow set images that I manually make HDR with external software and import show the HDR tag that seems to show on images taken with my iPhone?


User uploaded file


I'm using Photos 4.0 in Mojave.

MacBook Pro (13-inch, Late 2016, 4 TBT3)

Posted on Oct 14, 2018 8:41 AM

Reply

Similar questions

2 replies

Oct 19, 2018 11:49 AM in response to IsThatYourBag

In macOS 10.12 Sierra and earlier it used to be possible to drag custom smart albums among Apple's predefined albums. But is no longer possible in Photos 4.0 on Mojave. I created my own folder "My Media Types" and put a smart album with the rule "Photo is HDR" into this folder.


Making the HDR badge overlay show on the photos is possible, if you install exiftool (ExifTool by Phil Harvey)


You have to set the EXIF tag "CustomRendered" to the value 3 for "HDR" (https://sno.phy.queensu.ca/~phil/exiftool/TagNames/EXIF.html).


Install exiftool, then open a Terminal window.

Type the command below into the Terminal window and add a space character at the end of the line:


/usr/local/bin/exiftool -overwrite_original_in_place -preserve '-CustomRendered=HDR'


Then drag the image file you want to modify from the Finder window directly behind the Terminal command (on the same line) and hit the return key. When you now import the photos to Photos, they will show the HDR badge, even if the HDR has not been created with the iPhone:

User uploaded file

Oct 19, 2018 12:04 PM in response to léonie

The Terminal Command can be captured as a Quick Action to be run from the Finder preview.

You can create it using Automator:


The Quick Action needs an action "Get Selected Finder Items" followed by a "Run Apple Script" action.


Paste this into the Apple Script part:


on run {input, parameters}



(* Your script goes here *)

tell application "Finder"

set sel to the selection

set p to sel as alias

set pospath to POSIX path of p

do shell script "/usr/local/bin/exiftool -overwrite_original_in_place -preserve '-CustomRendered=HDR' " & pospath


-- set the clipboard to pospath

return pospath

end tell

return input

end run

User uploaded file

Save the Quick Action in the Services folder of the User Library folder.

Now you can select a photo in the Finder (exactly one photo) and run it from the Quick Action section in the preview of the image:

User uploaded file


I love the quick actions in Mojave!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

HDR Media Type and Photo Indicator

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.