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

Started by M.Carlsen, April 25, 2014, 05:40:57 AM

Previous topic - Next topic

M.Carlsen

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

Phil Harvey

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

M.Carlsen

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

Phil Harvey

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