ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: nfv77661 on June 14, 2016, 05:14:45 AM

Title: Unadle to add tags to make jpeg image to make 360 panorama
Post by: nfv77661 on June 14, 2016, 05:14:45 AM
I'm trying to add tags to my image with the following command:
"C:\Program Files (x86)\Geo\GeoSetter\tools\exiftool.exe" -ProjectionType="equirectangular" -UsePanoramaViewer="True" -"PoseHeadingDegrees<$exif:GPSImgDirection" -"CroppedAreaImageWidthPixels<$ImageWidth" -"CroppedAreaImageHeightPixels<$ImageHeight" -"FullPanoWidthPixels<$ImageWidth" -"FullPanoHeightPixels<$ImageHeight" -CroppedAreaLeftPixels="0" -CroppedAreaTopPixels="0"

But after executing the command above I get the following error:
Warning: [minor] Tag 'exif:GPSImgDirection' not defined

Please help me what I'm doing wrong?
Title: Re: Unadle to add tags to make jpeg image to make 360 panorama
Post by: Phil Harvey on June 14, 2016, 07:16:40 AM
You're not doing anything wrong (except that I would recommend dropping the "$" symbols when doing a simple tag copy -- see common mistake number 5 (https://exiftool.org/mistakes.html#M5)).  The warning is because GPSImgDirection doesn't exist in your source file, but you won't see the warning if you drop the "$" symbol (I have just added a note about this to the common mistakes page).

- Phil
Title: Re: Unadle to add tags to make jpeg image to make 360 panorama
Post by: nfv77661 on June 14, 2016, 09:12:51 AM
Thanks for re reply. So should I use

"C:\Program Files (x86)\Geo\GeoSetter\tools\exiftool.exe" -ProjectionType="equirectangular" -UsePanoramaViewer="True" -"PoseHeadingDegrees<exif:GPSImgDirection" -"CroppedAreaImageWidthPixels<ImageWidth" -"CroppedAreaImageHeightPixels<ImageHeight" -"FullPanoWidthPixels<ImageWidth" -"FullPanoHeightPixels<ImageHeight" -CroppedAreaLeftPixels="0" -CroppedAreaTopPixels="0"

insread?
Title: Re: Unadle to add tags to make jpeg image to make 360 panorama
Post by: Phil Harvey on June 14, 2016, 09:21:00 AM
Yes.  Note that the result will be the same (PoseHeadingDegrees won't get written if GPSImgDirection doesn't exist), but you won't get the warning.

- Phil
Title: Re: Unadle to add tags to make jpeg image to make 360 panorama
Post by: nfv77661 on June 14, 2016, 09:22:20 AM
Thanks for the help and for great tool :)