ImageProperties Metadata Example

This example lists the entire set of image metadata available in a single source image.

Smartsite SXML CopyCode image Copy Code
<!--// parse image and read all metadata -->
<se:imageproperties location="26203" includemetadata="true">
    <se:parameters>
        <se:parameter name="rowformat" trim="left">
filename: {this.field(filename)}
            <!--// output nested metadata -->
            <se:format inputdata="{this.parent.field(metadata)}">
                <se:rowformat trim="left">
{this.field(source)}.{this.field(name)}: {convert.tostring(this.field(value))}
                </se:rowformat>
            </se:format>
        </se:parameter>
    </se:parameters>
</se:imageproperties>
Example Result CopyCode image Copy Code
filename: Flower.jpg
            
            Exif.Make: Canon
                Exif.Model: Canon PowerShot S40
                Exif.Orientation: 1
                Exif.XResolution: 180/1
                Exif.YResolution: 180/1
                Exif.ResolutionUnit: 2
                Exif.ModifyDate: 2003:12:14 12:01:44
                Exif.YCbCrPositioning: 1
                Exif.ExifOffset: 196
                Exif.ExposureTime: 1/500
                Exif.FNumber: 49/10
                Exif.ExifVersion: System.Byte[]
                Exif.DateTimeOriginal: 2003:12:14 12:01:44
                Exif.CreateDate: 2003:12:14 12:01:44
                Exif.ComponentsConfiguration: System.Byte[]
                Exif.CompressedBitsPerPixel: 5/1
                Exif.ShutterSpeedValue: 287/32
                Exif.ApertureValue: 149/32
                Exif.ExposureCompensation: 0/3
                Exif.MaxApertureValue: 194698/65536
                Exif.MeteringMode: 2
                Exif.Flash: 24
                Exif.FocalLength: 682/32
                Exif.MakerNote: System.Byte[]
                Exif.UserComment: System.Byte[]
                Exif.FlashpixVersion: System.Byte[]
                Exif.ColorSpace: 1
                Exif.ExifImageWidth: 2272
                Exif.ExifImageHeight: 1704
                Exif.InteropOffset: 1416
                Exif.FocalPlaneXResolution: 2272000/280
                Exif.FocalPlaneYResolution: 1704000/210
                Exif.FocalPlaneResolutionUnit: 2
                Exif.SensingMethod: 2
                Exif.FileSource: 3
                Exif.CustomRendered: 0
                Exif.ExposureMode: 0
                Exif.WhiteBalance: 0
                Exif.DigitalZoomRatio: 2272/2272
                Exif.SceneCaptureType: 0
                Exif.MakerNoteCanon.0x0001: System.Int32[]
                Exif.MakerNoteCanon.0x0002: System.Int32[]
                Exif.MakerNoteCanon.0x0003: System.Int32[]
                Exif.MakerNoteCanon.0x0004: System.Int32[]
                Exif.MakerNoteCanon.0x0000: System.Int32[]
                Exif.MakerNoteCanon.0x0000: System.Int32[]
                Exif.MakerNoteCanon.0x0006: IMG:PowerShot S40 JPEG
                Exif.MakerNoteCanon.0x0007: Firmware Version 1.10
                Exif.MakerNoteCanon.0x0008: 1171771
                Exif.MakerNoteCanon.0x0009: Andreas Huggel
                Exif.MakerNoteCanon.0x0010: 17891328
                Exif.MakerNoteCanon.0x000d: System.Int32[]
                Exif.InteropIndex: R98
                Exif.InteropVersion: System.Byte[]
                Exif.RelatedImageWidth: 2272
                Exif.RelatedImageHeight: 1704
                Exif.Compression: 6
                Exif.XResolution: 180/1
                Exif.YResolution: 180/1
                Exif.ResolutionUnit: 2
                Exif.ThumbnailOffset: 2036
                Exif.ThumbnailLength: 5448