ExifTool Forum

ExifTool => Newbies => Topic started by: gaplan on November 08, 2018, 11:43:03 AM

Title: How to remove some tags.
Post by: gaplan on November 08, 2018, 11:43:03 AM

Hello There,
I'm the new one :)

How can I do it like original form, i mean how can i remove unused tags.

Thank you.



here is the original exif data;

EXIF

Exif Image Size 793 × 501
Orientation Horizontal (normal)


but my data like this;

EXIF

Orientation Horizontal (normal)
Y Cb Cr Positioning Centered
Exif Version 0230
Components Configuration Y, Cb, Cr, -
Flashpix Version 0100
Color Space Uncalibrated
Exif Image Size 793 × 501
Resolution 72 pixels/inch


Title: Re: How to remove some tags.
Post by: Phil Harvey on November 08, 2018, 12:00:53 PM
Some tags are mandatory according to the EXIF specification, so if any EXIF information exists then these tags should all exist:

IFD0:
XResolution
YResolution
ResolutionUnit
YCbCrPositioning
ExifOffset

IFD1:
Compression
XResolution
YResolution
ResolutionUnit

ExifIFD:
ExifVersion
ComponentsConfiguration
FlashpixVersion
ColorSpace
ExifImageWidth
ExifImageHeight

- Phil
Title: Re: How to remove some tags.
Post by: gaplan on November 08, 2018, 12:03:58 PM
Thank you for quick answer Phil.

Quote from: Phil Harvey on November 08, 2018, 12:00:53 PM
Some tags are mandatory according to the EXIF specification, so if any EXIF information exists then these tags should all exist:

IFD0:
XResolution
YResolution
ResolutionUnit
YCbCrPositioning
ExifOffset

IFD1:
Compression
XResolution
YResolution
ResolutionUnit

ExifIFD:
ExifVersion
ComponentsConfiguration
FlashpixVersion
ColorSpace
ExifImageWidth
ExifImageHeight

- Phil