ExifTool Forum

ExifTool => The "exiftool" Application => Topic started by: M.Carlsen on April 25, 2014, 05:40:57 AM

Title: Sorry, Can't write rational64u[n]! values on this platform
Post by: M.Carlsen on April 25, 2014, 05:40:57 AM
Hi There,

in the EXIFTAG Specification of EXIFTool it states that BlackLevel is a rational64u[n]! - however when I try to write as such - I get a :

Sorry, Can't write rational64u[n]! values on this platform


Any Idea ?

Thanks
Morten
Title: Re: Sorry, Can't write rational64u[n]! values on this platform
Post by: Phil Harvey on April 25, 2014, 07:26:05 AM
Hi Morten,

This is in a user-defined tag?  If so, then your Format definition is incorrect.  This is the only way that ExifTool could produce the message you describe.

Use Format => 'rational64u' and Count => -1.

- Phil
Title: Re: Sorry, Can't write rational64u[n]! values on this platform
Post by: M.Carlsen on April 25, 2014, 08:17:47 AM
Hi Phil,

it was in a user tag....

Thanks for clearing up.... I entered 'rational64u' without the "[n]!" - and it worked

would you care to specify what you wrote " Use Format => 'rational64u' and Count => -1."

do I need to enter the 'Count=>-1' ? or what are you suggesting

Best
Morten
Title: Re: Sorry, Can't write rational64u[n]! values on this platform
Post by: Phil Harvey on April 25, 2014, 08:36:24 AM
Hi  Morten,

If you want to be able to enter more than 1 value for an EXIF tag, then you need to specify a count.  See lib/Image/ExifTool/README in the full distribution for all of the gory details.

- Phil
Title: Re: Sorry, Can't write rational64u[n]! values on this platform
Post by: M.Carlsen on April 25, 2014, 10:10:29 AM
Thanks Phil---


-- Morten