Thread wurde vom System oder vom Community-Team geschlossen.

Intelligente Alben nach Fotoformat (Quadrat...) möglich?

Hallo,


ich benötige zum schnellen Filtern meiner iPhonebilder am Mac ein intelligentes Album, in dem alle Fotos angezeigt werden, welche z.B. Als Quadrat aufgenommen wurden.


Hab ich diese Möglichkeit noch nicht gefunden, oder gibt es diese nicht?


Danke und Gruß,


Andreas

Mac mini

Gepostet am 20. Okt. 2017 20:37

Antworten
3 Antworten

22. Okt. 2017 15:10 als Antwort auf SurferdesSandwurms

Die gibt es leider nicht vorgefertigt. Aber du kannst ein Apple Script laufen lassen um eine Menge von Fotos auf Alben zu verteilen, die sie nach dem Format sortieren.


Ich habe ein solches AppleScript im englischen Apple Support Forum veröffentlicht. Vielleicht hilft es dir ja, Deine Fotos zu sortieren. Schau mal hier: https://discussions.apple.com/docs/DOC-11573



Das Skript erzeugt fünf Alben:

  • Für Querformat Fotos
  • Für Hochformatfotos
  • Für quadratische Fotos
  • Für Panoramas- Hochformat
  • Für Panoramas- Querformat


Wenn das Skript die Fotos sortiert hat, kannst du ja in jedem Album die Fotos auswählen und ein Schlagwort für das Format zuweisen. Und dann für dein intelligentes Album auf das Schlagwort zurückgreifen.

19. Nov. 2017 12:13 als Antwort auf SurferdesSandwurms

zu a)

Du kannst einfach alles aus dem Skript streichen, was die Alben für die anderen Formate betrifft:


-- -- copy and paste from here to the en︎d ✄ ✄

set SquareAlbumName to "SquareAlbum" -- change this to the name of the album where you want to collect the Square Photos



-- Album for media files without width and height

set MySkippedName to "SquarelbumSkipped"

-- change this to the name of the album where you want to collect the media items that have no width or height


tell application "Photos"


activate


-- Ensure that the albums do exist

try

if not (exists container SquareAlbumName) then


makenewalbumnamedSquareAlbumName

end if

set theSquareAlbum to containerSquareAlbumName



if not (exists container MySkippedName) then


makenewalbumnamedMySkippedName

end if

set thePanoSkipAlbum to containerMySkippedName



on error errTexttwonumbererrNumtwo

display dialog "Cannot open albums: " & errNumtwo & return & errTexttwo

end try



-- process the selected photos from the All Photos album

try

set imageSel to (get selection)

on error errTexttwonumbererrNumtwo

display dialog "Cannot get the selection: " & errNumtwo & return & errTexttwo

end try


set squares to {} -- the list of square format photos

set skipped to {} -- the list of other media fiiles, not photos or videos




-- check, if the album or the selected photos do contain images


if imageSel is {} then

error "Please select some images."

else

repeat with im in imageSel

try


tell im--get the pixel size

set h to its height

set w to its width

end tell

on error errText number errNum

display dialog "Error: " & errNum & return & errText & "Trying again"

try

delay 2

tell im

set h to its height

set w to its width

end tell

on error errTexttwonumbererrNumtwo

display dialog "Skipping image due to repeated error: " & errNumtwo & return & errTexttwo

end try


end try

set noDimensions to (w is missing value) or (h is missing value)

if noDimensions then

set skipped to {im} & skipped

else


if (w = h) then

set squares to {im} & squares

end if

end if


end repeat



addsquarestotheSquareAlbum


addskippedtothePanoSkipAlbum


return "square photos: " & (length of squares) & ", skipped: " & (length of skipped)


end if


end tell

-- end ✄ ✄

zu b) du kannst den Start des scripts vereinfachen, indem du es als Programm sicherst und zum Dock hinzufügst. dann kannst du es mit einem Klick starten.

Im Script Editor verwende "Ablage > Export" und wähle als Format "Application". Das wird ein ausführbares Program sichern. Wenn du es startest, wir automatisch auch Fotos gestartet.

Intelligente Alben nach Fotoformat (Quadrat...) möglich?

Willkommen in der Apple Support Community
Ein Forum, in dem Apple-Kunden sich gegenseitig mit ihren Produkten helfen. Melde dich mit deiner Apple-ID an, um Mitglied zu werden.