Topic: IPTC vs XMP and PNG vs JPG
Hello,
I have a TIFF file which has defined metadata like "title", "caption", "keywords", etc.
Using Photoshop I've saved for web a JPG version and a PNG version.
I mention here that in the Save for Web dialog, I've chosen the All option for Metadata.
For JPG version, the JuiceboxBuilder-Pro menu option "Images > Titles > Use IPTC Title" works as expected.
For PNG, it doesn't.
I used exiftool to view the metadata of each file: exiftool -g.
One difference I've spotted is that Photoshop has embedded an IPTC section in JPG, but not in PNG.
Below I post the complete metadata returned by exiftool for JPG and PNG.
JPG Metadata
---- ExifTool ----
ExifTool Version Number : 9.99
---- File ----
File Name : 310085_d.jpg
Directory : .
File Size : 4.5 MB
File Modification Date/Time : 2015:11:12 16:54:48+02:00
File Access Date/Time : 2015:11:12 16:54:48+02:00
File Creation Date/Time : 2015:11:12 16:54:47+02:00
File Permissions : rw-rw-rw-
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
Exif Byte Order : Little-endian (Intel, II)
Current IPTC Digest : 46437a0b1d41c9db17cd2e9de7033205
Image Width : 2048
Image Height : 1536
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:4:4 (1 1)
---- EXIF ----
Image Description : Foggy Sunrise at Magura
Make : OLYMPUS IMAGING CORP.
Camera Model Name : E-M5
Orientation : Horizontal (normal)
X Resolution : 300
Y Resolution : 300
Resolution Unit : inches
Software : Adobe Photoshop CC 2015 (Windows)
Modify Date : 2015-11-12T16:54:48+02:00
Artist : Egosfera
Copyright : Copyright (c) 2015 Egosfera
Exposure Time : 1/13
F Number : 16.0
Exposure Program : Manual
ISO : 200
Exif Version : 0220
Date/Time Original : 2015:10:31 07:45:15
Create Date : 2015:10:31 07:45:15
Shutter Speed Value : 1/13
Aperture Value : 16.0
Exposure Compensation : 0
Max Aperture Value : 1.8
Metering Mode : Spot
Light Source : Other
Flash : Auto, Did not fire
Focal Length : 45.0 mm
Color Space : sRGB
Exif Image Width : 2048
Exif Image Height : 1536
Focal Plane X Resolution : 2661.021454
Focal Plane Y Resolution : 2661.021454
Focal Plane Resolution Unit : cm
File Source : Digital Camera
Exposure Mode : Manual
White Balance : Manual
Digital Zoom Ratio : 1
Focal Length In 35mm Format : 90 mm
Scene Capture Type : Standard
Gain Control : None
Contrast : Normal
Saturation : Normal
Sharpness : Normal
---- Ducky ----
Quality : 100%
---- XMP ----
XMP Toolkit : Adobe XMP Core 5.6-c067 79.157747, 2015/03/30-23:40:42
Format : image/jpeg
Creator Tool : Adobe Photoshop CC 2015 (Windows)
Rating : 0
Metadata Date : 2015:11:12 16:54:48+02:00
Serial Number : BF3505702
Lens Info : 45mm f/1.8
Lens : OLYMPUS M.45mm F1.8
Lens Serial Number : ABM203377
Approximate Focus Distance : 97.5
Flash Compensation : 0
Color Mode : RGB
ICC Profile Name : Adobe RGB (1998)
Caption Writer : Bodegarul Beguila Porcisteanu
Country : Romania
State : Brasov
Document ID : xmp.did:51AFA76A894D11E5970EE10E8C62AC1A
Original Document ID : DD44B7A79CEA1328634F3EB9E2BAC5A4
Instance ID : xmp.iid:51AFA769894D11E5970EE10E8C62AC1A
Web Statement : http://egosfera.net
Marked : True
Description : Foggy Sunrise at Magura
Creator : Egosfera
Rights : ©2015 Egosfera
Title : Sasicii at Magura
Subject : Sunrise, Magura, Brasov, Romania
History Action : derived, saved, saved
History Parameters : converted from image/x-olympus-raw to image/tiff
History Instance ID : xmp.iid:341b0f74-b294-3a4b-9465-3d600c6a4e24, xmp.iid:250a2e4f-943f-cc44-899a-d7376ce70da2
History When : 2015:11:12 12:14:51+02:00, 2015:11:12 16:53:33+02:00
History Software Agent : Adobe Photoshop Camera Raw 9.2 (Windows), Adobe Photoshop CC 2015 (Windows)
History Changed : /, /
Derived From Document ID : adobe:docid:photoshop:2579b054-894d-11e5-93e0-a7059e965553
Derived From Original Document ID: DD44B7A79CEA1328634F3EB9E2BAC5A4
Derived From Instance ID : xmp.iid:250a2e4f-943f-cc44-899a-d7376ce70da2
Usage Terms :
---- IPTC ----
Coded Character Set : UTF8
Application Record Version : 2
Caption-Abstract : Foggy Sunrise at Magura
Writer-Editor : Bodegarul Beguila Porcisteanu
By-line : Egosfera
Object Name : Sasicii at Magura
Date Created : 2015:10:31
City : Magura
Province-State : Brasov
Country-Primary Location Name : Romania
Keywords : Sunrise, Magura, Brasov, Romania
Copyright Notice : ©2015 Egosfera
Time Created : 07:45:15+00:00
---- Photoshop ----
IPTC Digest : 46437a0b1d41c9db17cd2e9de7033205
---- ICC_Profile ----
Profile CMM Type : Lino
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 : IEC
Device Model : sRGB
Device Attributes : Reflective, Glossy, Positive, Color
Rendering Intent : Perceptual
Connection Space Illuminant : 0.9642 1 0.82491
Profile Creator : HP
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)
---- APP14 ----
DCT Encode Version : 100
APP14 Flags 0 : [14], Encoded with Blend=1 downsampling
APP14 Flags 1 : (none)
Color Transform : YCbCr
---- Composite ----
Aperture : 16.0
Date/Time Created : 2015:10:31 07:45:15+00:00
Image Size : 2048x1536
Megapixels : 3.1
Scale Factor To 35 mm Equivalent: 2.0
Shutter Speed : 1/13
Circle Of Confusion : 0.015 mm
Field Of View : 22.6 deg
Focal Length : 45.0 mm (35 mm equivalent: 90.0 mm)
Hyperfocal Distance : 8.42 m
Light Value : 10.7
PNG Metadata:
---- ExifTool ----
ExifTool Version Number : 9.99
---- File ----
File Name : 310085_d.png
Directory : .
File Size : 6.2 MB
File Modification Date/Time : 2015:11:12 16:55:08+02:00
File Access Date/Time : 2015:11:12 16:55:07+02:00
File Creation Date/Time : 2015:11:12 16:55:07+02:00
File Permissions : rw-rw-rw-
File Type : PNG
File Type Extension : png
MIME Type : image/png
---- PNG ----
Image Width : 2048
Image Height : 1536
Bit Depth : 8
Color Type : RGB
Compression : Deflate/Inflate
Filter : Adaptive
Interlace : Noninterlaced
Profile Name : ICC profile
Software : Adobe ImageReady
---- ICC_Profile ----
Profile CMM Type : Lino
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 : IEC
Device Model : sRGB
Device Attributes : Reflective, Glossy, Positive, Color
Rendering Intent : Perceptual
Connection Space Illuminant : 0.9642 1 0.82491
Profile Creator : HP
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)
---- XMP ----
XMP Toolkit : Adobe XMP Core 5.6-c067 79.157747, 2015/03/30-23:40:42
Format : image/png
Creator Tool : Adobe Photoshop CC 2015 (Windows)
Modify Date : 2015:11:12 16:55:07+02:00
Create Date : 2015:10:31 07:45:15
Rating : 0
Metadata Date : 2015:11:12 16:55:07+02:00
Serial Number : BF3505702
Lens Info : 45mm f/1.8
Lens : OLYMPUS M.45mm F1.8
Lens Serial Number : ABM203377
Approximate Focus Distance : 97.5
Flash Compensation : 0
Date Created : 2015:10:31 07:45:15
Color Mode : RGB
ICC Profile Name : Adobe RGB (1998)
Caption Writer : Bodegarul Beguila Porcisteanu
City : Magura
Country : Romania
State : Brasov
Document ID : xmp.did:5D6BCCB0894D11E5AB60A64A1027C633
Original Document ID : DD44B7A79CEA1328634F3EB9E2BAC5A4
Instance ID : xmp.iid:5D6BCCAF894D11E5AB60A64A1027C633
Web Statement : http://egosfera.net
Marked : True
Description : Foggy Sunrise at Magura
Creator : Egosfera
Rights : ©2015 Egosfera
Title : Sasicii at Magura
Subject : Sunrise, Magura, Brasov, Romania
History Action : derived, saved, saved
History Parameters : converted from image/x-olympus-raw to image/tiff
History Instance ID : xmp.iid:341b0f74-b294-3a4b-9465-3d600c6a4e24, xmp.iid:250a2e4f-943f-cc44-899a-d7376ce70da2
History When : 2015:11:12 12:14:51+02:00, 2015:11:12 16:53:33+02:00
History Software Agent : Adobe Photoshop Camera Raw 9.2 (Windows), Adobe Photoshop CC 2015 (Windows)
History Changed : /, /
Derived From Document ID : adobe:docid:photoshop:2579b054-894d-11e5-93e0-a7059e965553
Derived From Original Document ID: DD44B7A79CEA1328634F3EB9E2BAC5A4
Derived From Instance ID : xmp.iid:250a2e4f-943f-cc44-899a-d7376ce70da2
Usage Terms :
---- Composite ----
Image Size : 2048x1536
Megapixels : 3.1