Skip to content

Commit

Permalink
Fix #53, image size not properly recognised, gen2 affected
Browse files Browse the repository at this point in the history
  • Loading branch information
ultramango committed Jun 14, 2018
1 parent 3845e35 commit 41b52ea
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -9,6 +9,8 @@ generation 1 (SM-C200) and 2 (2017 or SM-R210).

Latest Changes:

- 2018-06-14: fixed problem with EXIF data for generation 2 Gear360 that prevented Google
from recognising stitched image as panorama.
- 2018-06-04: added check for Hugin for video script.
- 2018-04-23: small fixes, updated Windows video stitching - should match
Linux version now (may have bugs still), added tests for Windows scripts.
Expand Down
5 changes: 2 additions & 3 deletions gear360pano.sh
Expand Up @@ -126,9 +126,8 @@ process_panorama() {

# TODO: not sure about the tag exclusion list...
# Note: there's no check for exiftool as it is included with Hugin
IMG_SIZE=($(exiftool -s -s -s -ImageWidth -ImageHeight $1 | tr '\n' ' '))
IMG_WIDTH=${IMG_SIZE[1]}
IMG_HEIGHT=${IMG_SIZE[2]}
IMG_WIDTH=$(exiftool -s -s -s -ImageWidth $1)
IMG_HEIGHT=$(exiftool -s -s -s -ImageHeight $1)
echo "Setting EXIF data (exiftool)"
run_command "exiftool" "-ProjectionType=equirectangular" \
"-q" \
Expand Down

0 comments on commit 41b52ea

Please sign in to comment.