Unadle to add tags to make jpeg image to make 360 panorama

Started by nfv77661, June 14, 2016, 05:14:45 AM

Previous topic - Next topic

nfv77661

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?

Phil Harvey

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).  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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

nfv77661

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?

Phil Harvey

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
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

nfv77661