I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-08-19 00:22:55-07 by snah
copy GPS data from TIFF to a former PSD saved as TIFF
Hello Phil
I'm trying to read the GPS data from file (A)-TIFF and write it to file (B)-TIFF. The reading part is easy, but for writing the trouble starts. I assume the reason is that (B)-TIFF was created by simply saving a file named (B)-PSD in TIF-Format as (B)-TIFF, hence (B)-TIFF only contains EXIF data that is also contained in (B)-PSD.

The question is: "How can I add non-exisiting tags to (B)-TIFF from (A)-TIFF ?"

Further background information:
The file (B)PSD is a panoramic image and contains several images that are almost equal to (A)-TIFF (except image data and DateTimeOriginal). As (A)-TIFF is geotagged (via gpsphoto.pl) I can read its gps-information, but I was not able write this data into (B)-TIFF.

My attempts to fiddle around with the command below failed:
exiftool -tagsfromfile a.tif -all:all b.tif
I also tried it with 'geosetter' that features copying select data from one image to another. Since I try to insert rather than copying data my attempts are failing.

I would highly appreciate if you would be so kind to help me figure out the syntax for this command.
Thank you very much for your efforts and last but not least for providing ExifTools.
With kind regards from Zurich, Hans Loepfe.
Direct Responses: 8622 | Write a response