#1190 Add crss XMP namespace and properties
This commit is contained in:
parent
a5bd6d84ce
commit
c8a400e1c5
1
doc/templates/Makefile
vendored
1
doc/templates/Makefile
vendored
@ -126,6 +126,7 @@ SCHEMA = xmp_dc \
|
|||||||
xmp_photoshop \
|
xmp_photoshop \
|
||||||
xmp_lr \
|
xmp_lr \
|
||||||
xmp_crs \
|
xmp_crs \
|
||||||
|
xmp_crss \
|
||||||
xmp_tiff \
|
xmp_tiff \
|
||||||
xmp_exif \
|
xmp_exif \
|
||||||
xmp_exifEX \
|
xmp_exifEX \
|
||||||
|
|||||||
1
doc/templates/__index2__
vendored
1
doc/templates/__index2__
vendored
@ -37,6 +37,7 @@
|
|||||||
<li><a href="tags-xmp-pdf.html"><span>pdf</span></a></li>
|
<li><a href="tags-xmp-pdf.html"><span>pdf</span></a></li>
|
||||||
<li><a href="tags-xmp-photoshop.html"><span>photoshop</span></a></li>
|
<li><a href="tags-xmp-photoshop.html"><span>photoshop</span></a></li>
|
||||||
<li><a href="tags-xmp-crs.html"><span>crs</span></a></li>
|
<li><a href="tags-xmp-crs.html"><span>crs</span></a></li>
|
||||||
|
<li><a href="tags-xmp-crss.html"><span>crss</span></a></li>
|
||||||
</ul>
|
</ul>
|
||||||
<ul>
|
<ul>
|
||||||
<li><a href="tags-xmp-tiff.html"><span>tiff</span></a></li>
|
<li><a href="tags-xmp-tiff.html"><span>tiff</span></a></li>
|
||||||
|
|||||||
27
doc/templates/tags-xmp-crss.html.in
vendored
Normal file
27
doc/templates/tags-xmp-crss.html.in
vendored
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
__doctype__
|
||||||
|
<html>
|
||||||
|
__header2__
|
||||||
|
<body>
|
||||||
|
|
||||||
|
<div id="content">
|
||||||
|
__index1__
|
||||||
|
__index2__
|
||||||
|
|
||||||
|
<h2>Camera Raw Saved Settings</h2>
|
||||||
|
<p>This schema specifies XMP properties used to store development settings for raw image files.
|
||||||
|
<ul>
|
||||||
|
<li>Exiv2 keys are nested in the form <b><code>Xmp.crss.SavedSettings[#]/crss:<Property>/crs:<Property></code></b></li>
|
||||||
|
<li>The schema namespace URI is <b><code>http://ns.adobe.com/camera-raw-saved-settings/1.0/</code></b></li>
|
||||||
|
<li>The preferred schema namespace prefix is <b><code>crss</code></b></li>
|
||||||
|
</ul>
|
||||||
|
Reference: No official document on this schema was found. Properties derived from examples posted in Adobe forums.
|
||||||
|
</p>
|
||||||
|
<p>Click on a column header to sort the table.</p>
|
||||||
|
|
||||||
|
__xmp_crss__
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- closes content -->
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
@ -85,6 +85,7 @@ namespace Exiv2 {
|
|||||||
extern const XmpPropertyInfo xmpPdfInfo[];
|
extern const XmpPropertyInfo xmpPdfInfo[];
|
||||||
extern const XmpPropertyInfo xmpPhotoshopInfo[];
|
extern const XmpPropertyInfo xmpPhotoshopInfo[];
|
||||||
extern const XmpPropertyInfo xmpCrsInfo[];
|
extern const XmpPropertyInfo xmpCrsInfo[];
|
||||||
|
extern const XmpPropertyInfo xmpCrssInfo[];
|
||||||
extern const XmpPropertyInfo xmpTiffInfo[];
|
extern const XmpPropertyInfo xmpTiffInfo[];
|
||||||
extern const XmpPropertyInfo xmpExifInfo[];
|
extern const XmpPropertyInfo xmpExifInfo[];
|
||||||
extern const XmpPropertyInfo xmpExifEXInfo[];
|
extern const XmpPropertyInfo xmpExifEXInfo[];
|
||||||
@ -123,6 +124,7 @@ namespace Exiv2 {
|
|||||||
{ "http://ns.adobe.com/pdf/1.3/", "pdf", xmpPdfInfo, N_("Adobe PDF schema") },
|
{ "http://ns.adobe.com/pdf/1.3/", "pdf", xmpPdfInfo, N_("Adobe PDF schema") },
|
||||||
{ "http://ns.adobe.com/photoshop/1.0/", "photoshop", xmpPhotoshopInfo, N_("Adobe photoshop schema") },
|
{ "http://ns.adobe.com/photoshop/1.0/", "photoshop", xmpPhotoshopInfo, N_("Adobe photoshop schema") },
|
||||||
{ "http://ns.adobe.com/camera-raw-settings/1.0/", "crs", xmpCrsInfo, N_("Camera Raw schema") },
|
{ "http://ns.adobe.com/camera-raw-settings/1.0/", "crs", xmpCrsInfo, N_("Camera Raw schema") },
|
||||||
|
{ "http://ns.adobe.com/camera-raw-saved-settings/1.0/", "crss", xmpCrssInfo, N_("Camera Raw Saved Settings") },
|
||||||
{ "http://ns.adobe.com/tiff/1.0/", "tiff", xmpTiffInfo, N_("Exif Schema for TIFF Properties") },
|
{ "http://ns.adobe.com/tiff/1.0/", "tiff", xmpTiffInfo, N_("Exif Schema for TIFF Properties") },
|
||||||
{ "http://ns.adobe.com/exif/1.0/", "exif", xmpExifInfo, N_("Exif schema for Exif-specific Properties") },
|
{ "http://ns.adobe.com/exif/1.0/", "exif", xmpExifInfo, N_("Exif schema for Exif-specific Properties") },
|
||||||
{ "http://cipa.jp/exif/1.0/", "exifEX", xmpExifEXInfo, N_("Exif 2.3 metadata for XMP") },
|
{ "http://cipa.jp/exif/1.0/", "exifEX", xmpExifEXInfo, N_("Exif 2.3 metadata for XMP") },
|
||||||
@ -502,6 +504,15 @@ namespace Exiv2 {
|
|||||||
{ 2, N_("cm") }
|
{ 2, N_("cm") }
|
||||||
};
|
};
|
||||||
|
|
||||||
|
extern const XmpPropertyInfo xmpCrssInfo[] = {
|
||||||
|
{ "SavedSettings", N_("Saved Settings"), "SavedSettings", xmpText, xmpInternal, N_("*Main structure* Camera Raw Saved Settings.") },
|
||||||
|
{ "Name", N_("Name"), "Text", xmpText, xmpExternal, N_("Camera Raw Saved Settings Name.") },
|
||||||
|
{ "Type", N_("Type"), "Text", xmpText, xmpExternal, N_("Camera Raw Saved Settings Type.") },
|
||||||
|
{ "Parameters", N_("Parameters"), "Parameters", xmpText, xmpInternal, N_("*Main structure* Camera Raw Saved Settings Parameters.") },
|
||||||
|
// End of list marker
|
||||||
|
{ 0, 0, 0, invalidTypeId, xmpInternal, 0 }
|
||||||
|
};
|
||||||
|
|
||||||
extern const XmpPropertyInfo xmpCrsInfo[] = {
|
extern const XmpPropertyInfo xmpCrsInfo[] = {
|
||||||
{ "AutoBrightness", N_("Auto Brightness"), "Boolean", xmpText, xmpInternal, N_("When true, \"Brightness\" is automatically adjusted.") },
|
{ "AutoBrightness", N_("Auto Brightness"), "Boolean", xmpText, xmpInternal, N_("When true, \"Brightness\" is automatically adjusted.") },
|
||||||
{ "AutoContrast", N_("Auto Contrast"), "Boolean", xmpText, xmpInternal, N_("When true, \"Contrast\" is automatically adjusted.") },
|
{ "AutoContrast", N_("Auto Contrast"), "Boolean", xmpText, xmpInternal, N_("When true, \"Contrast\" is automatically adjusted.") },
|
||||||
|
|||||||
@ -420,6 +420,7 @@ namespace Exiv2 {
|
|||||||
SXMPMeta::RegisterNamespace("http://www.metadataworkinggroup.com/schemas/keywords/", "mwg-kw");
|
SXMPMeta::RegisterNamespace("http://www.metadataworkinggroup.com/schemas/keywords/", "mwg-kw");
|
||||||
SXMPMeta::RegisterNamespace("http://ns.adobe.com/xmp/sType/Area#", "stArea");
|
SXMPMeta::RegisterNamespace("http://ns.adobe.com/xmp/sType/Area#", "stArea");
|
||||||
SXMPMeta::RegisterNamespace("http://cipa.jp/exif/1.0/", "exifEX");
|
SXMPMeta::RegisterNamespace("http://cipa.jp/exif/1.0/", "exifEX");
|
||||||
|
SXMPMeta::RegisterNamespace("http://ns.adobe.com/camera-raw-saved-settings/1.0/", "crss");
|
||||||
SXMPMeta::RegisterNamespace("http://www.audio/", "audio");
|
SXMPMeta::RegisterNamespace("http://www.audio/", "audio");
|
||||||
SXMPMeta::RegisterNamespace("http://www.video/", "video");
|
SXMPMeta::RegisterNamespace("http://www.video/", "video");
|
||||||
}
|
}
|
||||||
|
|||||||
@ -74,6 +74,7 @@ SCHEMA = dc \
|
|||||||
pdf \
|
pdf \
|
||||||
photoshop \
|
photoshop \
|
||||||
crs \
|
crs \
|
||||||
|
crss \
|
||||||
tiff \
|
tiff \
|
||||||
exif \
|
exif \
|
||||||
exifEX \
|
exifEX \
|
||||||
|
|||||||
@ -25,6 +25,7 @@ __navbar__
|
|||||||
<li><a href="tags-xmp-pdf.html">Adobe PDF schema (pdf)</a></li>
|
<li><a href="tags-xmp-pdf.html">Adobe PDF schema (pdf)</a></li>
|
||||||
<li><a href="tags-xmp-photoshop.html">Photoshop schema (photoshop)</a></li>
|
<li><a href="tags-xmp-photoshop.html">Photoshop schema (photoshop)</a></li>
|
||||||
<li><a href="tags-xmp-crs.html">Camera Raw schema (crs)</a></li>
|
<li><a href="tags-xmp-crs.html">Camera Raw schema (crs)</a></li>
|
||||||
|
<li><a href="tags-xmp-crs.html">Camera Raw Saved Settings schema (crss)</a></li>
|
||||||
|
|
||||||
<li><a href="tags-xmp-tiff.html">Exif schema for TIFF Properties (tiff)</a></li>
|
<li><a href="tags-xmp-tiff.html">Exif schema for TIFF Properties (tiff)</a></li>
|
||||||
<li><a href="tags-xmp-exif.html">Exif schema for Exif-specific Properties (exif)</a></li>
|
<li><a href="tags-xmp-exif.html">Exif schema for Exif-specific Properties (exif)</a></li>
|
||||||
|
|||||||
28
website/master/tags-xmp-crss.html.in
Normal file
28
website/master/tags-xmp-crss.html.in
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
__doctype__
|
||||||
|
<html lang="en">
|
||||||
|
__header4__
|
||||||
|
<body>
|
||||||
|
__navbar__
|
||||||
|
|
||||||
|
<div class="container">
|
||||||
|
<div class="page-header">
|
||||||
|
<h1>Metadata reference tables</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div><h2>Camera Raw Saved Settings</h2></div>
|
||||||
|
<p>This schema specifies XMP properties used to store development settings for raw image files.
|
||||||
|
<ul>
|
||||||
|
<li>Exiv2 keys are nested in the form <b><code>Xmp.crss.SavedSettings[#]/crss:<Property>/crs:<Property></code></b></li>
|
||||||
|
<li>The schema namespace URI is <b><code>http://ns.adobe.com/camera-raw-saved-settings/1.0/</code></b></li>
|
||||||
|
<li>The preferred schema namespace prefix is <b><code>crss</code></b></li>
|
||||||
|
</ul>
|
||||||
|
Reference: No official document on this schema was found. Properties derived from examples posted in Adobe forums.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
__xmp_crss__
|
||||||
|
|
||||||
|
</div><!-- /.container -->
|
||||||
|
__footer__
|
||||||
|
__bootstrap__
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Reference in New Issue
Block a user