Skip to content

Instantly share code, notes, and snippets.

@mpetroff
Created November 5, 2012 21:24
Show Gist options
  • Save mpetroff/4020418 to your computer and use it in GitHub Desktop.
Save mpetroff/4020418 to your computer and use it in GitHub Desktop.
Exiv2 Google Photo Sphere command file
# Exiv2 Google Photo Sphere command file
# -------------------------
#
# $ exiv2 -m photo-sphere.txt file ...
reg GPano http://ns.google.com/photos/1.0/panorama/
set Xmp.GPano.UsePanoramaViewer XmpText True
set Xmp.GPano.ProjectionType XmpText equirectangular
set Xmp.GPano.CroppedAreaImageWidthPixels XmpText 4096
set Xmp.GPano.CroppedAreaImageHeightPixels XmpText 2048
set Xmp.GPano.FullPanoWidthPixels XmpText 4096
set Xmp.GPano.FullPanoHeightPixels XmpText 2048
set Xmp.GPano.CroppedAreaLeftPixels XmpText 0
set Xmp.GPano.CroppedAreaTopPixels XmpText 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment