You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not entirely sure I want to go down the rabbit hole of having osxphotos modify anything in Photos but this would likely be a simple feature with low probability of breaking anything.
In response to Issue #322 there are likely other apps that store non-jpeg images as a .jpeg file when editing a photo in external app. Could add a "fix" command to osxphotos that would at first have only one option: --edited-image-type
Find all files with adjustments that are not missing (must be present on disk)
check PhotoInfo.uti and check type of image (using filetype). If uti is jpeg and types don't match, use ImageConverter to convert image to jpeg and replace the copy in the Photos library (Photos expects all external edits to be type jpeg but double-check that's the expected UTI)
Support --dry-run to see what would be fixed
osxphotos fix --edited-image-type --dry-run
The text was updated successfully, but these errors were encountered:
Not entirely sure I want to go down the rabbit hole of having osxphotos modify anything in Photos but this would likely be a simple feature with low probability of breaking anything.
In response to Issue #322 there are likely other apps that store non-jpeg images as a .jpeg file when editing a photo in external app. Could add a "fix" command to osxphotos that would at first have only one option: --edited-image-type
Support --dry-run to see what would be fixed
osxphotos fix --edited-image-type --dry-run
The text was updated successfully, but these errors were encountered: