Removing ICC- tags from a pdf document

Started by 1px, December 07, 2019, 07:37:06 PM

Previous topic - Next topic

1px

Hi.

I can't remove a bunch of ICC- tags from a pdf document. I use the command `exiftool -All= -icc_profile= book.pdf` but it doesn't work — the document stay unchanged. Here's the list of ICC- tags I want to remove.


[ICC-header:Image] ProfileCMMType            : Little CMS
[ICC-header:Image] ProfileVersion            : 2.3.0
[ICC-header:Image] ProfileClass              : Display Device Profile
[ICC-header:Image] ColorSpaceData            : RGB
[ICC-header:Image] ProfileConnectionSpace    : XYZ
[ICC-header:Image] ProfileFileSignature      : acsp
[ICC-header:Image] PrimaryPlatform           : Apple Computer Inc.
[ICC-header:Image] CMMFlags                  : Not Embedded, Independent
[ICC-header:Image] DeviceManufacturer        : Little CMS
[ICC-header:Image] DeviceModel               :
[ICC-header:Image] DeviceAttributes          : Reflective, Glossy, Positive, Color
[ICC-header:Image] RenderingIntent           : Perceptual
[ICC-header:Image] ConnectionSpaceIlluminant : 0.9642 1 0.82491
[ICC-header:Image] ProfileCreator            : Little CMS
[ICC-header:Image] ProfileID                 : 0
[ICC-header:Time] ProfileDateTime            : 2006:12:28 18:07:22
[ICC_Profile:Camera] DeviceMfgDesc           : (lcms internal)
[ICC_Profile:Camera] DeviceModelDesc         : sRGB built-in
[ICC_Profile:Image] ProfileDescription       : sRGB built-in
[ICC_Profile:Image] MediaWhitePoint          : 0.95015 1 1.08826
[ICC_Profile:Image] RedMatrixColumn          : 0.43585 0.22238 0.01392
[ICC_Profile:Image] BlueMatrixColumn         : 0.14302 0.06059 0.71384
[ICC_Profile:Image] GreenMatrixColumn        : 0.38533 0.71704 0.09714
[ICC_Profile:Image] RedTRC                   : (Binary data 2060 bytes, use -b option to extract)
[ICC_Profile:Image] GreenTRC                 : (Binary data 2060 bytes, use -b option to extract)
[ICC_Profile:Image] BlueTRC                  : (Binary data 2060 bytes, use -b option to extract)
[ICC-chrm:Image] ChromaticityChannels        : 3
[ICC-chrm:Image] ChromaticityColorant        : Unknown (0)
[ICC-chrm:Image] ChromaticityChannel1        : 0.64 0.33
[ICC-chrm:Image] ChromaticityChannel2        : 0.3 0.60001
[ICC-chrm:Image] ChromaticityChannel3        : 0.14999 0.06


How can I tackle the problem?

Thanks

Phil Harvey

ExifTool currently has read-only support for ICC in PDF.  (see this table for support levels for each file type)

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