Cant remove some metadatas :-(

Started by Goy0, April 14, 2023, 07:35:52 AM

Previous topic - Next topic

Goy0

Hi all,

I am using version 12.40 Linux.

I am not able to remove all metadatas from one PDF :-( I have tried everything like exiftool -all:all= file.pdf -m, I have also used qpdf or cpdf but all unsuccessfully.

Please, would you mind to give me a hint?


This is the metadata I get:

exiftool -all:all KyRIXXP.pdf -m
ExifTool Version Number         : 12.40
File Name                       : KyRIXXP.pdf
Directory                       : .
File Size                       : 695 KiB
File Modification Date/Time     : 2023:04:14 11:17:12+00:00
File Access Date/Time           : 2023:04:14 11:17:35+00:00
File Inode Change Date/Time     : 2023:04:14 11:17:12+00:00
File Permissions                : -rw-r--r--
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : Yes
Page Count                      : 1
Profile CMM Type                : Linotronic
Profile Version                 : 2.1.0
Profile Class                   : Display Device Profile
Color Space Data                : RGB
Profile Connection Space        : XYZ
Profile Date Time               : 1998:02:09 06:49:00
Profile File Signature          : acsp
Primary Platform                : Microsoft Corporation
CMM Flags                       : Not Embedded, Independent
Device Manufacturer             : Hewlett-Packard
Device Model                    : sRGB
Device Attributes               : Reflective, Glossy, Positive, Color
Rendering Intent                : Media-Relative Colorimetric
Connection Space Illuminant     : 0.9642 1 0.82491
Profile Creator                 : Hewlett-Packard
Profile ID                      : 0
Profile Copyright               : Copyright (c) 1998 Hewlett-Packard Company
Profile Description             : sRGB IEC61966-2.1
Media White Point               : 0.95045 1 1.08905
Media Black Point               : 0 0 0
Red Matrix Column               : 0.43607 0.22249 0.01392
Green Matrix Column             : 0.38515 0.71687 0.09708
Blue Matrix Column              : 0.14307 0.06061 0.7141
Device Mfg Desc                 : IEC http://www.iec.ch
Device Model Desc               : IEC 61966-2.1 Default RGB colour space - sRGB
Viewing Cond Desc               : Reference Viewing Condition in IEC61966-2.1
Viewing Cond Illuminant         : 19.6445 20.3718 16.8089
Viewing Cond Surround           : 3.92889 4.07439 3.36179
Viewing Cond Illuminant Type    : D50
Luminance                       : 76.03647 80 87.12462
Measurement Observer            : CIE 1931
Measurement Backing             : 0 0 0
Measurement Geometry            : Unknown
Measurement Flare               : 0.999%
Measurement Illuminant          : D65
Technology                      : Cathode Ray Tube Display
Red Tone Reproduction Curve     : (Binary data 2060 bytes, use -b option to extract)
Green Tone Reproduction Curve   : (Binary data 2060 bytes, use -b option to extract)
Blue Tone Reproduction Curve    : (Binary data 2060 bytes, use -b option to extract)

This is the metadata I want:

ExifTool Version Number         : 12.40
File Name                       : Early.pdf
Directory                       : .
File Size                       : 141 KiB
File Modification Date/Time     : 2023:04:14 11:13:49+00:00
File Access Date/Time           : 2023:04:14 11:17:43+00:00
File Inode Change Date/Time     : 2023:04:14 11:14:28+00:00
File Permissions                : -rwxr-xr-x
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.5
Linearized                      : No
Page Count                      : 2
Producer                        : cairo 1.15.10 (http://cairographics.org)
Author                          :
Create Date                     : 2022:07:01 12:37:09+01:00
Page count does not mind.

Thanks in advance.

StarGeek

In what way does your listed command not work?  Some of the metadata isn't removable and you can't change the page count without actually editing the PDF with an editor of some sort.

Can you share the pdf in question?
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).