PDFX Custom Namespace Config Issue

Started by hermanpeckel, October 24, 2012, 01:31:41 AM

Previous topic - Next topic

hermanpeckel

Hi,

After having great success (thanks to Phil) with ExifTool about 4 months ago, I finally went to roll the solution out into production. It seems the new version doesn't like my old ExifTool_config file. The nuts and bolts of it are -


# Shortcut tags are used when extracting information to simplify
# commonly used commands.  They can be used to represent groups
# of tags, or to provide an alias for a tag name.
%Image::ExifTool::UserDefined = (
    'Image::ExifTool::XMP::pdfx' => {
LPPrinter => { },
        LPColourProfile => { },
LPXMP => { },
LPScale => { },
LPXdim => { },
LPYdim => { },
LPOrientation => { },
LPFinishingCode => { },
LPItemDesc => { },
LPProduct => { },
LPColourMatch => { },
LPTrimming => { },
    },
);
#------------------------------------------------------------------------------
1;  #end
<-- Back to ExifTool home page


It seems ExifTool is getting stuck on LPPrinter (basically the first variable) and is throwing the error -

QuoteString found where operator expected at /Users/user/.ExifTool_config line 64, at end of line
and also -
QuoteWarning: Tag 'LPPrinter' does not exist

Anyone have any ideas? I struggled writing my initial ExifTool_config. Now I have no idea, so any help much appreciated!!

Regards
HP

Phil Harvey

This looks good, except that this line doesn't belong in the config file and should be deleted:

<-- Back to ExifTool home page

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