Corruption of images in Resource Space when writing metadata

Started by mikeshur, March 28, 2012, 09:31:20 AM

Previous topic - Next topic

mikeshur

I recently set up Resource Space on a Xserve running OS X 10.5.8. It is configured to use ExifTool to write metadata. I have two problems relating to ExifTool. One, if I edit metadata in RS, it does not show changes on download of original. Two, on download of tiffs, metadata write corrupts the image. This has happened with most downloads. If ExifTool_metadata_write=true is changed to false , corruption does not happen. The ExifTool I first used was part of RS install and done from Macports. I then installed the most recent ExifTool from ExifTool website and changed config.php file to point to that version. I then had same issue.
I have two copies of file available to check at:https://public.me.com/mikeshur, password: resource
sio0506.tif is original uncorrupted file.
sio0506-2.tif is file uploaded to RS, and then downloaded after change to metadata.
Any help with this will be appreciated.



Phil Harvey

Thanks for this report.  It may be a few days before I am able to download your files from mobileMe to look into this (because unfortunately mobileMe requires specific versions of web browsers that I can't run on this system).

If you want faster response, you can email the files to me (philharvey66 at gmail.com) or put them somewhere that I can download them with a standard http, ftp or sftp protocol.

- 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 ($).

mikeshur

Files are also at:
http://dl.dropbox.com/u/26244380/sio0506-2.tiff
http://dl.dropbox.com/u/26244380/sio0506.tif

Phil Harvey

I got the images, thanks.

ExifTool did not write the "edited" file, so it isn't an ExifTool problem.

The file has been truncated, possibly in a file transfer, which could be the only problem.  The EXIF is missing since it comes at the end of the file, so I can't tell if the metadata is corrupted or not.  ExifTool writes the EXIF at the beginning, which is how I can say for sure that ExifTool did not write this file.

- 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 ($).

mikeshur

Another member of the RS discussion group checked the file and posted this coomment:
"The (original) file is working for me (upload-> edit metadata ->
download).
If I check the original file or my resulting file with ExifTool they
both look good.
But if I check your resulting file sio0506-2.tif I read "Warning: Bad
ExifIFD directory" "

Can you explain what that error message means?

Phil Harvey

...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 ($).