title: How to add mandatory Google Photo Sphere XMP metadata to an equirectangular(360) image?
body: <p>Anyone know about, programmatically how to add Google photo sphere XMP meta data to an equirectangular(360) image? or how to remove and add new photo sphere XMP meta data to an equirectangular(360) image?  </p>
  
  <p>Here's the example:  </p>
  
  <pre><code>&lt;rdf:Description rdf:about="" xmlns:GPano="http://ns.google.com/photos/1.0/panorama/"&gt;
      &lt;GPano:UsePanoramaViewer&gt;True&lt;/GPano:UsePanoramaViewer&gt;
      &lt;GPano:CaptureSoftware&gt;Photo Sphere&lt;/GPano:CaptureSoftware&gt;
      &lt;GPano:StitchingSoftware&gt;Photo Sphere&lt;/GPano:StitchingSoftware&gt;
      &lt;GPano:ProjectionType&gt;equirectangular&lt;/GPano:ProjectionType&gt;
      &lt;GPano:PoseHeadingDegrees&gt;350.0&lt;/GPano:PoseHeadingDegrees&gt;
      &lt;GPano:InitialViewHeadingDegrees&gt;90.0&lt;/GPano:InitialViewHeadingDegrees&gt;
      &lt;GPano:InitialViewPitchDegrees&gt;0.0&lt;/GPano:InitialViewPitchDegrees&gt;
      &lt;GPano:InitialViewRollDegrees&gt;0.0&lt;/GPano:InitialViewRollDegrees&gt;
      &lt;GPano:InitialHorizontalFOVDegrees&gt;75.0&lt;/GPano:InitialHorizontalFOVDegrees&gt;
      &lt;GPano:CroppedAreaLeftPixels&gt;0&lt;/GPano:CroppedAreaLeftPixels&gt;
      &lt;GPano:CroppedAreaTopPixels&gt;0&lt;/GPano:CroppedAreaTopPixels&gt;
      &lt;GPano:CroppedAreaImageWidthPixels&gt;4000&lt;/GPano:CroppedAreaImageWidthPixels&gt;
      &lt;GPano:CroppedAreaImageHeightPixels&gt;2000&lt;/GPano:CroppedAreaImageHeightPixels&gt;
      &lt;GPano:FullPanoWidthPixels&gt;4000&lt;/GPano:FullPanoWidthPixels&gt;
      &lt;GPano:FullPanoHeightPixels&gt;2000&lt;/GPano:FullPanoHeightPixels&gt;
      &lt;GPano:FirstPhotoDate&gt;2012-11-07T21:03:13.465Z&lt;/GPano:FirstPhotoDate&gt;
      &lt;GPano:LastPhotoDate&gt;2012-11-07T21:04:10.897Z&lt;/GPano:LastPhotoDate&gt;
      &lt;GPano:SourcePhotosCount&gt;50&lt;/GPano:SourcePhotosCount&gt;
      &lt;GPano:ExposureLockUsed&gt;False&lt;/GPano:ExposureLockUsed&gt;
  &lt;/rdf:Description&gt;
  </code></pre>