|
Posted on Sun Aug 26 03:36:13 2007
by msbc
|
| Adding GPS tags to Panasonic RAW fails |
|
I'm using Marc Rochkind's excellent ImageIngesterPro to add GPS data to my images on import. I have found that adding GPS data to RAW files from a Panasonic LMC-DX2 fails while the same exiftool command succeeds against a Canon 5D CR2 file. The example command is:
exiftool -m -overwrite_original_in_place -gps:GPSLatitudeRef=S -gps:GPSLatitude=37.798424 -gps:GPSL
+ongitudeRef=E -gps:GPSLongitude=144.984772 -gps:GPSAltitudeRef=above -gps:GPSAltitude=23.142424 im
+age.RAW
|
|
|
Posted on Sun Aug 26 14:39:20 2007
by exiftool
in response to 5952
|
| Re: Adding GPS tags to Panasonic RAW fails |
Thanks for pointing out this oversight. I have now fixed this and
exiftool 6.96 will have the ability to add new GPS information to
Panasonic RAW images. If you want to test it before the official
release, I have uploaded a
6.96
pre-release with this new ability.
- Phil
|
|
|
Posted on Sun Aug 26 16:12:09 2007
by msbc
in response to 5954
|
| Re: Adding GPS tags to Panasonic RAW fails |
|
Phil,
Thanks for the VERY quick update! I tested this version and it did fix the problem.
While building 6.96 I did see a failure during 'make test' as follows:
t/PNG..............ok 1/3Undefined subroutine &Compress::Zlib::deflateInit called at /Users/Mark/So
+ftware/Safari/Image-ExifTool-6.96/blib/lib/Image/ExifTool/WritePNG.pl line 72.
t/PNG..............dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED test 3
Failed 1/3 tests, 66.67% okay
Failed Test Stat Wstat Total Fail List of Failed
-------------------------------------------------------------------------------
t/PNG.t 2 512 3 2 3
Failed 1/51 test scripts. 1/225 subtests failed.
Files=51, Tests=225, 36 wallclock secs (26.81 cusr + 2.79 csys = 29.60 CPU)
Failed 1/51 test programs. 1/225 subtests failed.
make: *** [test_dynamic] Error 255
This is on OSX 10.4.10 PPC.
|
|
|
Posted on Mon Aug 27 15:27:04 2007
by exiftool
in response to 5956
|
| Re: Adding GPS tags to Panasonic RAW fails |
I'm glad this worked. I'm puzzled about the failed test though. Did you
install Compress::Zlib yourself? I'm running OS X 10.4.10 on mactel,
and I don't see this problem. If Compress::Zlib isn't installed, it isn't used.
And if it is installed properly, Compress::Zlib::deflateInit should be
available.
Also, the PNG code hasn't changed since version 6.90 which has been
tested
extensively with no failures on many platforms including various
darwin versions.
- Phil
|
|
|
Posted on Tue Aug 28 09:15:10 2007
by msbc
in response to 5962
|
| Re: Adding GPS tags to Panasonic RAW fails |
|
Maybe this is related to using the OSX Installer Package for 6.94 and then manually building/installing 6.96? Even though the 'make test' did produce the error I then performed 'sudo make install' but 'exiftool -ver' still showed 6.94??
Does the Package installer use a different destination to 'make install'?
|
|
|
Posted on Tue Aug 28 14:20:25 2007
by exiftool
in response to 5968
|
| Re: Adding GPS tags to Panasonic RAW fails |
Ah. This could be it.
From the
installation
instructions:
Note: The OS X installations above place exiftool and its "lib" directory
in /usr/bin, while the standard Unix "make install" described below puts
exiftool in /usr/bin and the individual libraries in /Library/Perl/#.#.#,
where "#.#.#" is the Perl version. If both sets of libraries exist, /usr/bin/lib
takes precedence for exiftool, but /Library/Perl/#.## is the default for any
other Perl scripts.
- Phil
|
|
|
Posted on Tue Aug 28 15:40:56 2007
by msbc
in response to 5969
|
| Re: Adding GPS tags to Panasonic RAW fails |
|
Well, I removed /usr/bin/lib and /Library/Perl/5.8.6/Image and File but I still get the same error with make test. Are there any other bit's I didn't delete?
|
|
|
Posted on Tue Aug 28 15:51:40 2007
by exiftool
in response to 5970
|
| Re: Adding GPS tags to Panasonic RAW fails |
|
No, that's it. It was a good try but a long shot anyway since those
really shouldn't have affected the test results.
Can you show me the output (out.txt) from this command?:
perldoc Compress::Zlib > out.txt
- Phil
|
|
|
Posted on Wed Aug 29 06:16:49 2007
by msbc
in response to 5971
|
| Re: Adding GPS tags to Panasonic RAW fails |
|
Phil,
I get the contents of a man page - is any part relevant or do you just need to know there was valid output?
|
|
|
Posted on Wed Aug 29 06:21:18 2007
by msbc
in response to 5978
|
| Re: Adding GPS tags to Panasonic RAW fails |
|
Phil,
I see the same error from 'make test' for 6.95 so it suggests it's something in my environment.
|
|
|
Posted on Wed Aug 29 15:23:12 2007
by exiftool
in response to 5979
|
| Re: Adding GPS tags to Panasonic RAW fails |
|
I just wanted to see if Compress::Zlib::deflateInit() is defined in the
man page. If it is, then there must be something wrong with your
Zlib installation. If not, then it may be a problem with an incompatible
version of Compress::Zlib (but this would surprise me).
- Phil
|
|
|
Posted on Wed Aug 29 16:35:37 2007
by msbc
in response to 5984
|
| Re: Adding GPS tags to Panasonic RAW fails |
|
Phil,
Yes, deflateInit is defined. I'm not sure how I installed Zlib? I installed the PHP5 dist from entropy and have just re-installed the latest MacPorts and it's zlib package - still get the same error. Where should I start looking to validate the Zlib install?
|
|
|
Posted on Wed Aug 29 16:46:11 2007
by exiftool
in response to 5985
|
| Re: Adding GPS tags to Panasonic RAW fails |
It may not be easy to validate the existing Zlib installation. However, you
can download
Compress::Zlib
from CPAN and try installing it to see if it fixes the problem. It should
install with the same set of commands as Image::ExifTool (or any other
CPAN module).
- Phil
|
|
|
Posted on Thu Aug 30 10:34:08 2007
by msbc
in response to 5986
|
| Re: Adding GPS tags to Panasonic RAW fails |
|
Phil,
Well, finally able to install 6.95 but first had to install IO::Compress::Base, IO::Compress::Zlib and Compress::Zlib, with Compress::Raw::Zlib thrown in for good luck :-)
|
|
|
Posted on Thu Aug 30 14:47:36 2007
by exiftool
in response to 5992
|
| Re: Adding GPS tags to Panasonic RAW fails |
|
I'm glad you got it working. I'm pretty sure this problem was specific to
your installation since this is the first time I've seen it and I'm running
OS X 10.4.10 myself.
- Phil
|
|