Zum Hauptinhalt springen

Bild - Drehen um EXIF Daten - Automatische Ausrichtung für Make

Drehen um EXIF Daten ist ein Make Modul von PDF4me das liest EXIF Orientierungsetikett auf einem JPG oder PNG Das Programm richtet das Bild automatisch aus und dreht es in die richtige, aufrechte Position. Verwenden Sie es, um seitlich liegende Smartphone-Fotos zu korrigieren, bevor sie in einer Galerie landen, gedruckt werden oder PDF, ohne dass ein manueller Drehwinkel erforderlich ist.

Was dieses Modul bewirkt

PDF4me Drehen um EXIF Daten liefert eine automatische Bildrotation basierend auf EXIF Orientierungsmetadaten innerhalb Make Szenarien. Es liest die EXIF Orientierungsmarkierung von Bildern (üblich bei Smartphone- und Kamerafotos) und Anwendung der korrekten Drehung, um eine korrekte Fotoanzeige, Druckvorbereitung, Webveröffentlichung und automatisierte Workflows zur Orientierungskorrektur zu ermöglichen.

Verwandte Blog-Beiträge
Zu dieser Funktion gibt es noch keinen Blogbeitrag – folgt in Kürze.
Schauen Sie sich in der Zwischenzeit im PDF4me-Blog Tutorials und Arbeitsabläufe für alle Plattformen an.
Besuchen Sie den Blog

Wie authentifiziere ich mein Konto? Make Szenario?

Um auf die PDF4me Web API durch MakeJede Anfrage muss einen gültigen Verbindung halten PDF4me API Schlüssel. Dies ermöglicht eine sichere, authentifizierte Kommunikation zwischen Ihrem Make Szenario und PDF4meBildrotationsdienst von 's.

Wichtige Fakten, die Sie nicht verpassen sollten

Kein Drehwinkel erforderlich
Das Modul liest die EXIF Orientierungsetikett Es passt sich also direkt an jedes Bild an, anstatt dass Sie wie bei einem manuellen Rotationsmodul einen festen Gradwert festlegen müssen.
Der Bildtyp muss dem realen Format entsprechen.
Bildtyp festlegen auf JPG oder PNG Um die tatsächliche Datei abzugleichen, muss eine Diskrepanz zwischen dem deklarierten Typ und dem tatsächlichen Format die korrekte Verarbeitung verhindern.
Bilder ohne EXIF-Daten werden unverändert durchgelassen.
Screenshots, gescannte Dokumente oder Bilder, denen bereits Metadaten entzogen wurden, verfügen über kein Orientierungs-Tag zum Auslesen, daher belässt das Modul ihre Ausrichtung unverändert.
Das Modul „PDF4me Rotate by EXIF Data“ ist so konfiguriert, dass eine Datei aus einem vorherigen Modul zugeordnet, der Bilddateiname und der Bildtyp auf JPG für die automatische Ausrichtungskorrektur festgelegt sind.

Das Quellbild wird zugeordnet, Bilddateiname und Bildtyp werden festgelegt. Das Modul liest die EXIF Ausrichtungsmarkierung und automatische Bilddrehung.

Um welche Parameter rotiert es? EXIF Datenbedarf?

Erforderlich: Verbindung, Datei, Bilddateiname und Bildtyp müssen angegeben werden.

ParameterErforderlichWas es tutBeispiel
ConnectionRequiredPDF4me API connection. Click Add and paste your API key the first time. Reused automatically across all PDF4me modules in your scenarios.My PDF4me connection
FileRequiredBinary content of the source image. Map from Dropbox, Google Drive, HTTP, or any previous module that outputs image binary data.1. Data
Image File NameRequiredFilename of the image with extension. Map from the previous module output or set explicitly.photo.jpg
Image TypeRequiredFormat of the source image. Must match the actual file: JPG for JPEG images, PNG for PNG images.JPG

Ausgabe

FeldTypWas es enthält
Image NameStringOutput image filename with corrected orientation.
Image DataBufferThe image with EXIF-based rotation already applied, ready for upload or downstream processing.

Typische Konfigurationen

Workflow-BeispieleCommon Make scenario patterns using Rotate by EXIF Data.
Neue Dropbox-Uploads → automatisch korrigierte Fotobibliothek
  1. Ein Dropbox Watch Files-Trigger wird ausgelöst, wenn ein neues Foto im Upload-Ordner landet.
  2. Bei einem Batch-Upload verarbeitet ein Iterator jedes neue Bild.
  3. Die Funktion „Rotate by EXIF Data“ korrigiert die Ausrichtung mithilfe des EXIF-Tags des Bildes.
  4. Ein Dropbox-Upload-Schritt speichert das korrigierte Bild im Hauptordner der Fotobibliothek.
  5. Ein Aktualisierungsschritt des Katalogindexes aktualisiert die Bibliotheksliste mit der korrigierten Datei.
Produktfoto hochladen → Ausrichtung korrigieren → CDN-Veröffentlichung
  1. Ein Trigger wird ausgelöst, wenn ein neues Produktfoto für den Shop hochgeladen wird.
  2. Die Drehung anhand der EXIF-Daten korrigiert die Ausrichtung, bevor nachgelagerte Größenänderungen oder Komprimierungen erfolgen.
  3. Ein optionaler Schritt zur Bildkomprimierung reduziert die Dateigröße und sorgt so für schnellere Seitenladezeiten.
  4. Im Schritt „Upload to CDN“ wird das korrigierte, optimierte Bild veröffentlicht.
  5. Ein Schritt zur Aktualisierung des Produktdatensatzes verknüpft die korrigierte Bild-URL mit dem Eintrag.
Gescannte Inspektionsfotos → korrekte Ausrichtung → PDF-Bericht
  1. Eine mobile Inspektions-App lädt Fotos, die im Außendienst aufgenommen wurden, in einen gemeinsamen Ordner hoch.
  2. Die Funktion „Rotate by EXIF Data“ korrigiert alle seitlich oder auf dem Kopf stehenden Aufnahmen, die während der Bewegung auf dem Gelände entstanden sind.
  3. Die korrigierten Bilder werden mithilfe eines Dokumentengenerierungsmoduls in einen PDF-Bericht eingebettet.
  4. Der fertige Bericht wird in ein gemeinsames Inspektionsarchiv hochgeladen.
  5. Eine E-Mail-Benachrichtigung informiert den prüfenden Manager darüber, dass der Bericht fertig ist.

Praktische Tipps

Image Type must match the real file format
Setting Image Type to PNG for a file that is actually a JPG (or vice versa) can prevent correct processing. Confirm the format before mapping it in.
Run this before resizing or compressing
Apply EXIF rotation first in your scenario, then resize or compress. Correcting orientation after a resize can compound cropping issues on non-square images.
Re-saved images may have lost EXIF data
If a photo has already passed through another editor or platform that strips metadata, there may be no Orientation tag left to read, and the image will pass through unrotated.
Different phone models write different orientation values
The EXIF Orientation tag can be any value from 1 to 8, not just "rotated 90 degrees." The module handles all standard EXIF orientation values, including mirrored orientations.
This does not read GPS or camera-model EXIF fields
Rotate by EXIF Data uses only the Orientation tag. Use Image - Extract Metadata if your workflow also needs GPS coordinates, camera model, or capture timestamp.
Screenshots typically have no orientation tag
Screenshots and many desktop-generated images never carry an EXIF Orientation tag, so this module has nothing to correct on them and will pass them through unchanged.

Spickzettel

FeldWert
ModuleRotate by EXIF Data
ConnectionPDF4me API key
FileBinary image content from a previous module
Image File Namefilename.jpg or filename.png
Image Type (JPEG)JPG
Image Type (PNG)PNG
Rotation angle inputNone needed, read from EXIF tag automatically
Output fieldsImage Name, Image Data

Häufig gestellte Fragen

What is EXIF orientation and why do photos appear sideways?+
Many smartphone and camera sensors always capture image data in the same physical orientation and record which way the device was actually held in the EXIF Orientation tag (a value from 1 to 8) instead of rotating the pixel data itself. Viewers that ignore this tag display the photo sideways or upside down even though the file itself is fine. Rotate by EXIF Data reads that tag and physically rotates the pixels to match, so the image displays correctly everywhere, including viewers that do not read EXIF metadata. See this <a href="https://superuser.com/questions/36645/how-to-rotate-images-automatically-based-on-exif-data" target="_blank" rel="noopener noreferrer">community explanation of EXIF-based auto-rotation</a> for more background.
Do I need to specify a rotation angle manually?+
No. The module reads the EXIF Orientation tag automatically and applies the correct rotation without you specifying degrees. This is different from a manual Rotate module where you set a fixed angle; EXIF-based rotation adapts per image based on how each photo was actually captured.
What happens if an image has no EXIF orientation data?+
If the source image has no EXIF Orientation tag (common with screenshots, scanned documents, or images already re-saved without metadata), the module leaves the image orientation unchanged since there is no tag to read. Verify Image Type matches the actual file format before running the module, since a mismatched type can prevent correct processing.
How is this different from the general Rotate an Image module?+
The general Rotate an Image module applies a fixed angle you specify (e.g. 90 or 180 degrees) to every image. Rotate by EXIF Data instead reads each image's own Orientation tag and applies whatever correction that specific photo needs, which is why it works well on batches of photos with mixed orientations from different phones or cameras.

Branchenspezifische Anwendungsfälle und Anwendungen

  • Fotobibliotheken: Korrekte Ausrichtung in Fotosammlungen
  • Stockfotos: Bilder für Bilddatenbanken vorbereiten
  • Eventfotografie: Ausrichtung bei Fotostapeln von Veranstaltungen korrigieren
  • PorträtkorrekturStellen Sie sicher, dass die Ausrichtung im Hochformat korrekt ist.

Verwandte Aktionen

Dieselbe Aufgabe auf anderen Plattformen

Hilfe erhalten