ImageMetadataPreParser
Gruppe |
|
Funktion |
Dieser Preparser liest die Metadaten einer Bild-Datei aus und erstellt daraus eine XML-Datei. |
Konfigurationsdatei |
Keine. |
Beschreibung
Dieser Preparser liest die Metadaten einer Bild-Datei aus und erstellt daraus eine XML-Datei.
Das Root-Element ist metadata. Danach werden alle ausgelesenen Tags aufgelistet. Die Art und Anzahl der Tags werden von den Metadaten vorgegeben.
Beispiel
<?
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
>