Remove spreads tags from metadata

Started by biyamol, April 23, 2014, 08:30:23 AM

Previous topic - Next topic

biyamol

Hi , If u help me to solve the issue then it will be very helpfull .....


Issue:  We are dealing with indd files and its metadata size. To reduce the size of the files we need to remove some tags from metadata.We noticed that while removing the 'spreads' tags from metadata it is not getting removed.

we used cmd as
D:\exiftool> exiftool.exe -spreads="D:\temp\xxxx.indd"

warning shows as:"Tag spreads doesn't exist"


The structure of metadata
-File
-XMP
   #Fonts
   #Previews
        *Spreads
              =Base64-data
              =Base64-data
    #Thumbnails
    #ImageInfo

Phil Harvey

I don't know what "Spreads" is.  It seems from your hierarchy that it may be an XMP tag, but I have never seen this tag.  If it is XMP, then it may be removed by creating a definition for it in the config file (see the sample config file for examples).  ExifTool only writes XMP in INDD files, so if it is any other type of information then ExifTool can't write it.

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

biyamol

Thanks....


bt we can't remove XMP TAG because WE NEED some data for further operations. it will be helpfull if you suggest some method to remove base64-data....

Phil Harvey

I meant the specific XMP tag that you want removed.  Not the entire XMP block.

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

biyamol

ok...

Which command should I use to remove specific tag???

D:\exiftool> exiftool.exe -spreads="D:\temp\xxxx.indd"

It gives error...

Phil Harvey

The command is:

exiftool.exe -spreads= "D:\temp\xxxx.indd"

You need a space after -spreads=.

But this will give the warning you mentioned in your first post unless you define the Spreads tag as I mentioned.

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