Editing Metadata » History » Version 2
Martina Trognitz, 2020-02-13 13:29
| 1 | 1 | Martina Trognitz | h1. Editing Metadata |
|---|---|---|---|
| 2 | |||
| 3 | Many file formats support storing metadata in a dedicated header section. This can be enriched or altered. |
||
| 4 | |||
| 5 | Tools: |
||
| 6 | * ExifTool: https://exiftool.org {{collapse(How To) |
||
| 7 | 2 | Martina Trognitz | h3. Change value of a tag |
| 8 | |||
| 9 | * List of tags exiftool supports: https://exiftool.org/TagNames/index.html |
||
| 10 | |||
| 11 | For example change the value of the EXIF tag 'Artist'. With Windows cmd line. |
||
| 12 | |||
| 13 | # open cmd line (press Windows+R, type cmd and press enter) |
||
| 14 | # in cmd line navigate to folder containing exiftool executable |
||
| 15 | # to find the name of the tag you want to change, firs list metadata with actual tag names (use -s flag) |
||
| 16 | <pre>exiftool -s ..\..\..\Documents\tmpStuff\bieber_PC_OeNB\042_OeNB_1904-1a.tif</pre> |
||
| 17 | <pre><code class="shell"> |
||
| 18 | ExifToolVersion : 11.86 |
||
| 19 | FileName : 042_OeNB_1904-1a.tif |
||
| 20 | Directory : ../../../Documents/tmpStuff/bieber_PC_OeNB |
||
| 21 | FileSize : 10 MB |
||
| 22 | FileModifyDate : 2019:07:18 13:33:42+02:00 |
||
| 23 | FileAccessDate : 2020:02:13 10:41:31+01:00 |
||
| 24 | FileCreateDate : 2020:02:13 10:41:31+01:00 |
||
| 25 | FilePermissions : rw-rw-rw- |
||
| 26 | FileType : TIFF |
||
| 27 | FileTypeExtension : tif |
||
| 28 | MIMEType : image/tiff |
||
| 29 | ExifByteOrder : Little-endian (Intel, II) |
||
| 30 | SubfileType : Full-resolution image |
||
| 31 | ImageWidth : 2263 |
||
| 32 | ImageHeight : 1515 |
||
| 33 | BitsPerSample : 8 8 8 |
||
| 34 | Compression : Uncompressed |
||
| 35 | PhotometricInterpretation : RGB |
||
| 36 | Model : Microbox GmbH - Book2Net |
||
| 37 | StripOffsets : 272596 |
||
| 38 | SamplesPerPixel : 3 |
||
| 39 | RowsPerStrip : 4294967295 |
||
| 40 | StripByteCounts : 10285335 |
||
| 41 | XResolution : 400 |
||
| 42 | YResolution : 400 |
||
| 43 | ResolutionUnit : inches |
||
| 44 | Software : High Performance Image Library, (c) Michael Girke 2008 |
||
| 45 | ModifyDate : 2016:08:29 15:44:31 |
||
| 46 | Artist : Ísterreichische Nationalbilbiothek, Wien |
||
| 47 | ProfileCMMType : Apple Computer Inc. |
||
| 48 | ProfileVersion : 2.4.0 |
||
| 49 | ProfileClass : Input Device Profile |
||
| 50 | ColorSpaceData : RGB |
||
| 51 | ProfileConnectionSpace : Lab |
||
| 52 | ProfileDateTime : 2010:05:28 10:51:13 |
||
| 53 | ProfileFileSignature : acsp |
||
| 54 | PrimaryPlatform : Microsoft Corporation |
||
| 55 | CMMFlags : Not Embedded, Independent |
||
| 56 | DeviceManufacturer : |
||
| 57 | DeviceModel : |
||
| 58 | DeviceAttributes : Reflective, Glossy, Positive, Color |
||
| 59 | RenderingIntent : Perceptual |
||
| 60 | ConnectionSpaceIlluminant : 0.9642 1 0.82491 |
||
| 61 | ProfileCreator : Unknown (LOGO) |
||
| 62 | ProfileID : 0 |
||
| 63 | ProfileCopyright : Copyright by LOGO GmbH, Steinfurt |
||
| 64 | ChromaticAdaptation : 1 0 0 0 1 0 0 0 1 |
||
| 65 | RedMatrixColumn : 0.38354 0.14978 0 |
||
| 66 | GreenMatrixColumn : 0.57959 0.83546 0.01984 |
||
| 67 | BlueMatrixColumn : 0.00107 0.01474 0.80507 |
||
| 68 | MediaWhitePoint : 0.9642 1 0.82491 |
||
| 69 | MediaBlackPoint : 0 0 0 |
||
| 70 | RedTRC : (Binary data 1034 bytes, use -b option to extract) |
||
| 71 | GreenTRC : (Binary data 1034 bytes, use -b option to extract) |
||
| 72 | BlueTRC : (Binary data 1034 bytes, use -b option to extract) |
||
| 73 | AToB0 : (Binary data 221806 bytes, use -b option to extract) |
||
| 74 | AToB2 : (Binary data 221806 bytes, use -b option to extract) |
||
| 75 | AToB1 : (Binary data 221806 bytes, use -b option to extract) |
||
| 76 | ProfileDescription : 1910044_28-05-2010_1 |
||
| 77 | ImageSize : 2263x1515 |
||
| 78 | Megapixels : 3.4 |
||
| 79 | |||
| 80 | </code></pre> |
||
| 81 | |||
| 82 | 1 | Martina Trognitz | }} |