Photo Sphere XMP
次の表に、360°写真 XMP で 必須のフィールドを示します。360°写真 XMP について詳しくは、次のリンクをご覧ください。カスタム フィールド(GPano:PosePitchDegrees
など)を追加する場合は、PosePitchDegrees
に短縮します(接頭辞の下線「_」は不要です)。
名前 |
型 |
説明 |
ProjectionType |
任意のテキスト |
画像ファイルの投影タイプ。Google のサービスでは現在、equirectangular がサポートされています。 |
UsePanoramaViewer |
ブール値 |
画像をパノラマ ビューア(True )で表示するか、フラット画像として表示するか(False )。デフォルトは True です。 |
PoseHeadingDegrees |
実際 |
画像の中心のコンパスの向首方向(度数)。値の範囲は 0 以上 360 未満です。 |
CroppedAreaImageWidthPixels |
Integer |
未編集の画像の元の幅(未編集の画像では、実際の画像の幅に等しい)。 |
CroppedAreaImageHeightPixels |
Integer |
ピクセル単位で示される画像の元の高さ(未編集の画像では、実際の画像の高さに等しい)。 |
FullPanoWidthPixels |
Integer |
切り抜かれた画像の元となるパノラマ全体の幅。パノラマの一部のみが撮影された場合は、完全なパノラマの幅を指定します。 |
FullPanoHeightPixels |
Integer |
切り抜かれた画像の元となる画像全体のパノラマの高さ。パノラマの一部のみが撮影された場合は、完全なパノラマの高さを指定します。 |
CroppedAreaLeftPixels |
Integer |
フルサイズのパノラマから画像が切り取られた場合の、切り取られた画像左端の列。 |
CroppedAreaTopPixels |
Integer |
フルサイズのパノラマから画像が切り取られた場合の、切り取られた画像上端の行。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-30 UTC。
[null,null,["最終更新日 2024-11-30 UTC。"],[[["This page lists all the required fields for Photo Sphere XMP metadata, which is used by Google products to display spherical images correctly."],["Photo Sphere XMP metadata includes information about the image's projection type, orientation, and dimensions, as well as how it should be displayed."],["If adding custom fields to the XMP metadata, omit the \"GPano:\" prefix (e.g., use \"PosePitchDegrees\" instead of \"GPano:PosePitchDegrees\")."],["For detailed information about Photo Sphere XMP and its usage, refer to the provided link."]]],["Photo Sphere XMP requires specific fields for proper image handling. These include `ProjectionType` (typically equirectangular), `UsePanoramaViewer` (defaults to `True`), and `PoseHeadingDegrees` (compass heading). Dimensions are specified using `CroppedAreaImageWidthPixels`, `CroppedAreaImageHeightPixels`, `FullPanoWidthPixels`, and `FullPanoHeightPixels`. `CroppedAreaLeftPixels` and `CroppedAreaTopPixels` indicate the cropped image's position within the full panorama. Custom fields can be added without prefixing underscores.\n"]]