ExifTool Forum

General => Metadata => Topic started by: eseidler on November 20, 2012, 05:19:29 PM

Title: bigtiff metadata
Post by: eseidler on November 20, 2012, 05:19:29 PM
Hi. Last year I developed an application that calls exiftool to retrieve metadata from tiff and geotiff files. Now I'm interested in reading the metadata from bigtiff files. However, when I try that on some bigtiffs that I have, I get the following output (filename and directory lines removed):
  ExifToolVersion = 8.62
  FileSize = 8038634372
  FileModifyDate = 1352837893
  FilePermissions = 33206
  FileType = BTF
  MIMEType = image/x-tiff-big
  | Warning = Huge offsets not supported (LargeFileSupport not set)


So is there a way to set that LargeFileSupport flag? I found the following line in Image/Exiftool.pm
      #   LargeFileSupport => undef,  # flag indicating support of 64-bit file offsets

Can I change that line to the following and somehow rebuild the application for use on bigtiffs? Am I on the right track or way off?
      LargeFileSupport => 1,  # flag indicating support of 64-bit file offsets

Many thanks.
- Eric S.
Title: Re: bigtiff metadata
Post by: Phil Harvey on November 20, 2012, 07:42:21 PM
Hi Eric,

This may be done in the config file (https://exiftool.org/config.html):

%Image::ExifTool::UserDefined::Options = (
    LargeFileSupport => 1,
);
1; # end


Let me know how this goes.  I haven't tested the BigTIFF module with long offsets.

- Phil
Title: Re: bigtiff metadata
Post by: eseidler on November 26, 2012, 11:28:48 AM
Phil,

After setting that option in the config file, the application seems to be pulling all of the metadata correctly on the bigtiff file that I've got. I'll report back if I discover that it's not retrieving all the data.

Thanks for the quick response!

- Eric
Title: Re: bigtiff metadata
Post by: Phil Harvey on November 26, 2012, 11:34:20 AM
Great, thanks for letting me know.

- Phil
Title: Re: bigtiff metadata
Post by: Strontium on June 29, 2019, 09:53:37 AM
Quote from: Phil Harvey on November 20, 2012, 07:42:21 PM
%Image::ExifTool::UserDefined::Options = (
    LargeFileSupport => 1,
);
1; # end

I have the above code in .ExifTool_config in my home directory (Ubuntu 18.04), but i can't alter the exif information of a bigtiff file. Reading does work.


Error: ExifTool does not support writing of BigTIFF images - beach.tif


Either i did not setup the config file correctly or it simply does not work.

What is to do?

Here is the link to the bigtiff file:

https://mega.nz/#!tAlBBaBL!j3jRjFFlVQYi7CsAjNsCovt2sC6cAxJqrPFTWj9qLDc

which is a tiff file 88140 x 5397 pixels, 645.9 MB

Stargeek Edit: Fixed quoting
Title: Re: bigtiff metadata
Post by: StarGeek on June 29, 2019, 12:53:47 PM
I can confirm this.  Tested using -api largefilesupport=1 and got the same error.

Title: Re: bigtiff metadata
Post by: Phil Harvey on June 30, 2019, 09:51:53 AM
ExifTool currently has only read support for BigTIFF files (https://exiftool.org/index.html#supported).

- Phil
Title: Re: bigtiff metadata
Post by: dzeek on April 12, 2020, 04:12:55 PM
Quote from: Phil Harvey on June 30, 2019, 09:51:53 AM
ExifTool currently has only read support for BigTIFF files (https://exiftool.org/index.html#supported).

- Phil

Hi Phil. Is this still true? I have some BigTIFF files from PTGui and would like to use ExifTool to add GPS data. I have been doing this with JPG files but now need to use TIF files. Thank you.
Title: Re: bigtiff metadata
Post by: Phil Harvey on April 12, 2020, 04:53:43 PM
You can check the support level for all files here (https://exiftool.org/#supported).  BigTIFF is still read-only.

- Phil