29
29
" xmlns:x=\'adobe:ns:meta/\'" \
30
30
" xmlns:dc=\"http://purl.org/dc/elements/1.1/\"" \
31
31
" xmlns:xmp=\"http://ns.adobe.com/xap/1.0/\"" \
32
" xmlns:exif=\"http://ns.adobe.com/exif/1.0/\">" \
32
" xmlns:exif=\"http://ns.adobe.com/exif/1.0/\"" \
33
" xmlns:tiff=\"http://ns.adobe.com/tiff/1.0/\">" \
33
34
" <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">" \
34
35
" <rdf:Description rdf:about=\"\">"\
35
36
" <dc:format>application/pdf</dc:format>" \
53
54
" <exif:Artist>Artist in exif</exif:Artist>" \
54
55
" <exif:Make>Make in exif</exif:Make>" \
55
56
" <exif:Model>Model in exif</exif:Model>" \
56
" <exif:Orientation>top - left</exif:Orientation>" \
57
57
" <exif:Flash>0</exif:Flash>" \
58
58
" <exif:MeteringMode>3</exif:MeteringMode>" \
59
59
" <exif:ExposureTime>1000</exif:ExposureTime>" \
62
62
" <exif:ISOSpeedRatings>400</exif:ISOSpeedRatings>" \
63
63
" <exif:WhiteBalance>1</exif:WhiteBalance>" \
64
64
" <exif:Copyright>Copyright in exif</exif:Copyright>" \
65
" <tiff:Orientation>1</tiff:Orientation>" \
65
66
" <xmp:CreateDate>2002-08-15T17:10:04Z</xmp:CreateDate>"\
66
67
" </rdf:Description> " \
80
81
#define ORIENTATION_XMP \
82
83
" xmlns:x=\'adobe:ns:meta/\'" \
83
" xmlns:exif=\"http://ns.adobe.com/exif/1.0/\">" \
84
" xmlns:tiff=\"http://ns.adobe.com/tiff/1.0/\">" \
84
85
" <rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">" \
85
86
" <rdf:Description rdf:about=\"\">" \
86
" <exif:Orientation>%s</exif:Orientation>" \
87
" <tiff:Orientation>%s</tiff:Orientation>" \
87
88
" </rdf:Description>" \
88
89
" </rdf:RDF></x:xmpmeta> "
106
107
static ExifNepomuk ORIENTATIONS [] = {
107
{"top - right", "nfo:orientation-top-mirror"},
108
{"bottom - right", "nfo:orientation-bottom-mirror"},
109
{"bottom - left", "nfo:orientation-bottom"},
110
{"left - top", "nfo:orientation-left-mirror"},
111
{"right - top", "nfo:orientation-right"},
112
{"right - bottom", "nfo:orientation-right-mirror"},
113
{"left - bottom", "nfo:orientation-left"},
108
{"2", "nfo:orientation-top-mirror"},
109
{"3", "nfo:orientation-bottom-mirror"},
110
{"4", "nfo:orientation-bottom"},
111
{"5", "nfo:orientation-left-mirror"},
112
{"6", "nfo:orientation-right"},
113
{"7", "nfo:orientation-right-mirror"},
114
{"8", "nfo:orientation-left"},
114
115
{"invalid value", "nfo:orientation-top"}