ImageMetadataPreParser

Group

Preparsers

Function

This preparser reads the metadata of an image file and creates an XML file from it.

Configuration file

None.

Description


This preparser reads the metadata of an image file and creates an XML file from it.

The root element is metadata. After that all read tags are listed. The type and number of tags are specified by the metadata.

Example


<?xml version="1.0" encoding="UTF-8"?>
<metadata>
<javax_imageio_png_1.0>
<IHDR>
<width>274</width>
<height>207</height>
<bitDepth>8</bitDepth>
<colorType>RGB</colorType>
<compressionMethod>deflate</compressionMethod>
<filterMethod>adaptive</filterMethod>
<interlaceMethod>none</interlaceMethod>
</IHDR>
<gAMA>45455</gAMA>
<pHYs>
<pixelsPerUnitXAxis>4724</pixelsPerUnitXAxis>
<pixelsPerUnitYAxis>4724</pixelsPerUnitYAxis>
<unitSpecifier>meter</unitSpecifier>
</pHYs>
<sRGB>Perceptual</sRGB>
<tEXt>
<tEXtEntry>
<keyword>Software</keyword>
<value>Greenshot</value>
</tEXtEntry>
</tEXt>
</javax_imageio_png_1.0>
<javax_imageio_1.0>
<Chroma>
<ColorSpaceType>RGB</ColorSpaceType>
<NumChannels>3</NumChannels>
<Gamma>0.45455</Gamma>
<BlackIsZero>TRUE</BlackIsZero>
</Chroma>
<Compression>
<CompressionTypeName>deflate</CompressionTypeName>
<Lossless>TRUE</Lossless>
<NumProgressiveScans>1</NumProgressiveScans>
</Compression>
<Data>
<PlanarConfiguration>PixelInterleaved</PlanarConfiguration>
<SampleFormat>UnsignedIntegral</SampleFormat>
<BitsPerSample>8 8 8</BitsPerSample>
</Data>
<Dimension>
<PixelAspectRatio>1.0</PixelAspectRatio>
<ImageOrientation>Normal</ImageOrientation>
<HorizontalPixelSize>0.21168502</HorizontalPixelSize>
<VerticalPixelSize>0.21168502</VerticalPixelSize>
</Dimension>
<Text>
<TextEntry>
<keyword>Software</keyword>
<value>Greenshot</value>
<encoding>ISO-8859-1</encoding>
<compression>none</compression>
</TextEntry>
</Text>
<Transparency>
<Alpha>none</Alpha>
</Transparency>
</javax_imageio_1.0>
</metadata>