How to remove some tags.

Started by gaplan, November 08, 2018, 11:43:03 AM

Previous topic - Next topic

gaplan


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



Phil Harvey

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

gaplan

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