メインコンテンツへスキップ

画像 - 回転 EXIF データ - 自動方向設定 Make

回転 EXIF データ は Make モジュール PDF4me それは EXIF 方向タグ JPG 画像を自動的に正しい垂直位置に回転させます。ギャラリーや印刷ジョブに送られる前に、横向きのスマートフォン写真を修正するために使用します。 PDF手動で角度を回転させる必要はありません。

このモジュールの機能

PDF4me 回転 EXIF データ 自動画像回転機能を提供します EXIF 方向メタデータ内 Make シナリオ。 EXIF 画像から方向タグを取得し(スマートフォンやカメラで撮影した写真によく見られる)、正しい回転を適用することで、適切な写真表示、印刷準備、ウェブ公開、および自動方向補正ワークフローを実現します。

関連ブログ記事
この機能に関するブログ記事はまだありません。近日公開予定です。
その間、PDF4me ブログを閲覧して、あらゆるプラットフォームのチュートリアルやワークフローをご覧ください。
ブログをご覧ください →

認証方法 Make シナリオ?​

アクセスするには PDF4me ウェブ API を通して Makeすべてのリクエストには有効な 繋がり あなたの PDF4me API キー。これにより、お客様の間で安全で認証された通信が可能になります。 Make シナリオと PDF4me画像回転サービス。

見逃してはならない重要な事実​

回転角度は不要です
モジュールは EXIF 方向タグ 直接調整されるため、手動回転モジュールのように固定の角度値を設定する必要がなく、画像ごとに自動的に調整されます。
入力は2つだけで、フォーマットセレクタはありません。
このモジュールはファイル名とドキュメントのみを受け取ります。画像タイプのドロップダウンはありません。 JPG 保存されている向きを使用して画像 EXIF データ。
EXIFデータのない画像は変更されずにそのまま通過します。
スクリーンショット、スキャンされた文書、またはメタデータが既に削除された画像には、読み取るべき方向タグがないため、モジュールはそれらの方向をそのままにしておきます。
PDF4meのEXIFデータによる回転モジュールを、前のモジュールからマッピングされたドキュメントと、自動方向補正用に設定されたファイル名で構成します。

ソースイメージをマッピングし、ファイル名を設定します。モジュールは、 EXIF 方向タグが付いており、画像を自動的に回転させます。

回転はどのようなパラメータで行われますか? EXIF データが必要ですか?​

必須: 接続情報、ファイル名、およびドキュメントのすべてを指定する必要があります。

パラメータ必須その機能例
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
FileRequiredHow the source image reaches the module. The radio lists your connected storage actions (for example Dropbox - Download a File) and Map. Choose Map to wire the fields below from earlier modules: File Name and Document only appear once Map is selected.Map
File NameRequiredName of the image to process, including its extension. Map it from the file name returned by a previous module, such as a cloud storage download.photo.jpg
DocumentRequiredContent (binary data) of the image to process. Map it from the file data returned by Dropbox, Google Drive, HTTP, or any previous module.1. Data

出力​

PDF4me リクエストをバックグラウンドジョブとして処理し、 Make 次のモジュールを実行する前に、結果を待ちます。

分野タイプ内容物
NameFile nameFile name of the resulting image. Map it together with Document into the next module, for example to upload or email the file.
DocumentFile (binary data)Content (binary data) of the resulting image, with EXIF-based rotation already applied. Map it together with the file name into the next module, for example to upload or email the file.

典型的な構成​

ワークフローの例Common Make scenario patterns using Rotate by EXIF Data.
Dropboxに新規アップロード → 自動修正された写真ライブラリ
  1. Dropboxのファイル監視トリガーは、アップロードフォルダに新しい写真がアップロードされたときに作動します。
  2. アップロードがバッチ処理の場合、イテレータは新しい画像ごとに処理を行います。
  3. EXIFデータによる回転機能は、画像自体のEXIFタグを使用して向きを補正します。
  4. Dropboxへのアップロード手順では、修正された画像がメインの写真ライブラリフォルダに保存されます。
  5. カタログ索引の更新手順では、修正されたファイルを使用してライブラリ一覧を更新します。
商品写真のアップロード → 向きの修正 → CDNへの公開
  1. ストアフロントに新しい商品写真がアップロードされると、トリガーが作動します。
  2. EXIFデータによる回転機能は、後続の処理でサイズ変更や圧縮が行われる前に、向きを補正します。
  3. オプションの「画像圧縮」ステップを使用すると、ファイルサイズが縮小され、ページの読み込み速度が向上します。
  4. CDNへのアップロード手順では、修正され最適化された画像が公開されます。
  5. 商品レコードの更新手順では、修正された画像のURLを商品リストにリンクします。
スキャンした検査写真 → 正しい向き → PDFレポート
  1. モバイル検査アプリは、現場で撮影した写真を共有フォルダにアップロードします。
  2. EXIFデータによる回転機能は、サイト内を移動中に撮影された横向きや上下逆の写真を補正します。
  3. 修正された画像は、文書生成モジュールを使用してPDFレポートに埋め込まれます。
  4. 完成した報告書は、共有の検査アーカイブにアップロードされます。
  5. レポートの準備ができたことを、レビュー担当マネージャーにメールで通知します。

実践的なヒント​

Map the File Name and the Document from the same file
The module has no format selector, so the file you map is what it processes. Pairing a File Name from one image with the Document of another produces a mislabeled output.
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.

チートシート​

分野価値
ModuleRotate by EXIF Data
ConnectionPDF4me API key
DocumentBinary image content from a previous module
File Namefilename.jpg
Image type selectorNone, the module works on JPG images
Rotation angle inputNone needed, read from EXIF tag automatically
Output fieldsName, Document

よくある質問​

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. Make sure the File Name you map carries the real extension, so the file reaching the module is the JPG image you expect.
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.

業界におけるユースケースとアプリケーション​

  • 写真ライブラリ写真コレクションの正しい向き
  • ストックフォト:ストックライブラリ用の画像を準備する
  • イベント写真イベント写真バッチの向きを修正
  • 肖像補正: 正しい縦向きの向きを確認してください

関連アクション​

他のプラットフォームでの同じタスク​

ヘルプが必要な場合​