ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:53:57 AM

Title: Adding Tiff:XPosition and Tiff:YPosition to xmp
Post by: Archive on May 12, 2010, 08:53:57 AM
[Originally posted by ellfr on 2006-11-12 23:49:17-08]

I'd like to add the tiff tags,XPosition and YPosition, to the xmp namespace so I can export them to a .xmp file and then import them back into the same image. I'm sure it's easy to do, but I don't quite understand the syntax in the .ExifTool_config file.
Title: Re: Adding Tiff:XPosition and Tiff:YPosition to xmp
Post by: Archive on May 12, 2010, 08:53:57 AM
[Originally posted by exiftool on 2006-11-13 01:15:45-08]

I have pre-defined all standard XMP-tiff tags already, but
you can add custom ones if you want:

Code:
%Image::ExifTool::UserDefined = (
    'Image::ExifTool::XMP::tiff' => {
        XPosition => { },
        YPosition => { },
    },
);

- Phil
Title: Re: Adding Tiff:XPosition and Tiff:YPosition to xmp
Post by: Archive on May 12, 2010, 08:53:57 AM
[Originally posted by ellfr on 2006-11-13 02:23:54-08]

That works perfectly.  

The XPosition and YPosition tags are shown in http://www.exiftool.org/TagNames/EXIF.html and are used in cropped tiffs to show the position of the image in a larger panorama.

I can now add these tags back into the image after Photoshop so graciously deletes them.

Thanks
Title: Re: Adding Tiff:XPosition and Tiff:YPosition to xmp
Post by: Archive on May 12, 2010, 08:53:57 AM
[Originally posted by ellfr on 2006-11-13 05:02:19-08]

That works perfectly.  

The XPosition and YPosition tags are shown in http://www.exiftool.org/TagNames/EXIF.html and are used in cropped tiffs to show the position of the image in a larger panorama.

I can now add these tags back into the image after Photoshop so graciously deletes them.

Thanks