<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="/feed.php">
        <title>Documentation Center public:dson_spec:object_definitions:image</title>
        <description></description>
        <link>/</link>
        <image rdf:resource="/lib/tpl/dazdoccenter/images/favicon.ico" />
       <dc:date>2026-04-14T06:54:05+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="/public/dson_spec/object_definitions/image/start"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="/lib/tpl/dazdoccenter/images/favicon.ico">
        <title>Documentation Center</title>
        <link>/</link>
        <url>/lib/tpl/dazdoccenter/images/favicon.ico</url>
    </image>
    <item rdf:about="/public/dson_spec/object_definitions/image/start">
        <dc:format>text/html</dc:format>
        <dc:date>2013-03-20T17:06:45+00:00</dc:date>
        <title>image</title>
        <link>/public/dson_spec/object_definitions/image/start</link>
        <description>
&lt;h1 id=&quot;image&quot;&gt;image&lt;/h1&gt;
&lt;div class=&quot;level1&quot;&gt;

&lt;/div&gt;

&lt;h2 id=&quot;description&quot;&gt;Description&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
Defines an image asset.
&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&quot;parent_objects&quot;&gt;Parent Objects&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;ul&gt;
&lt;li class=&quot;level1&quot;&gt;&lt;div class=&quot;li&quot;&gt; &lt;a href=&quot;/public/dson_spec/object_definitions/daz/start&quot; class=&quot;wikilink1&quot; title=&quot;public:dson_spec:object_definitions:daz:start&quot;&gt;DAZ&lt;/a&gt;&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;/div&gt;

&lt;h2 id=&quot;properties&quot;&gt;Properties&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;div class=&quot;table sectionedit1&quot;&gt;&lt;table class=&quot;inline&quot;&gt;
	&lt;thead&gt;
	&lt;tr class=&quot;row0&quot;&gt;
		&lt;th class=&quot;col0&quot;&gt; Name &lt;/th&gt;&lt;th class=&quot;col1&quot;&gt; Description &lt;/th&gt;&lt;th class=&quot;col2&quot;&gt; Default &lt;/th&gt;&lt;th class=&quot;col3&quot;&gt; Required &lt;/th&gt;
	&lt;/tr&gt;
	&lt;/thead&gt;
	&lt;tr class=&quot;row1&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; id &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; The unique ID for this instance within the file. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; None &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; yes &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row2&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; name &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; The internal name of the image. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; None &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; yes &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row3&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; source &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; The &lt;abbr title=&quot;Uniform Resource Identifier&quot;&gt;URI&lt;/abbr&gt; of the image asset that this image was derived from, if any. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; “” &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; no &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row4&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; map_gamma &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; A float representing the gamma of the image. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; 0 &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; no &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row5&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; map_size &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; The preferred image size to apply to the composed map. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; None &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; no &lt;/td&gt;
	&lt;/tr&gt;
	&lt;tr class=&quot;row6&quot;&gt;
		&lt;td class=&quot;col0&quot;&gt; map &lt;/td&gt;&lt;td class=&quot;col1&quot;&gt; An array (stack) of &lt;a href=&quot;/public/dson_spec/object_definitions/image_map/start&quot; class=&quot;wikilink1&quot; title=&quot;public:dson_spec:object_definitions:image_map:start&quot;&gt;image_map&lt;/a&gt; objects used to define per-pixel properties of the material channel. &lt;/td&gt;&lt;td class=&quot;col2&quot;&gt; None &lt;/td&gt;&lt;td class=&quot;col3&quot;&gt; no &lt;/td&gt;
	&lt;/tr&gt;
&lt;/table&gt;&lt;/div&gt;
&lt;!-- EDIT1 TABLE [179-760] --&gt;
&lt;/div&gt;

&lt;h2 id=&quot;details&quot;&gt;Details&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;

&lt;p&gt;
The &lt;em&gt;map&lt;/em&gt; property defines a stack of images to be interpreted as individual layers.  The first image in the stack defines the bottom layer, and each subsequent image represents an additional layer.  The &lt;em&gt;operation&lt;/em&gt; property of the layer is ignored for the bottom layer (first entry in the &lt;em&gt;map&lt;/em&gt; array), but for other layers it defines how the image should be composited into the image chain.  The &lt;em&gt;map&lt;/em&gt; property must contain at least one &lt;a href=&quot;/public/dson_spec/object_definitions/image_map/start&quot; class=&quot;wikilink1&quot; title=&quot;public:dson_spec:object_definitions:image_map:start&quot;&gt;image_map&lt;/a&gt; definition.
&lt;/p&gt;

&lt;p&gt;
The &lt;em&gt;map_gamma&lt;/em&gt; property defines the gamma of the image if a &lt;em&gt;map&lt;/em&gt; property is present.  A value that is less than or equal to zero (0) is interpreted to mean that it is up to the application to determine the gamma of the image.  A value greater than zero (0) is interpreted to be the gamma encoding of the pixels in the image.
&lt;/p&gt;

&lt;p&gt;
The &lt;em&gt;map_size&lt;/em&gt; property defines the final image size of the output image if a &lt;em&gt;map&lt;/em&gt; element is present, but also defines the size at which all layer images will be composited if more than one image is given in the &lt;em&gt;map&lt;/em&gt; stack.  If an image differs than this size upon import, it should be scaled to size before applying compositing operations in the &lt;em&gt;map&lt;/em&gt; stack.  The &lt;abbr title=&quot;DAZ Scene Object Notation&quot;&gt;DSON&lt;/abbr&gt; format does not dictate whether image operations like scaling, rotating, and flipping should occur before or after any necessary image resizing in the &lt;em&gt;map&lt;/em&gt; stack.
&lt;/p&gt;

&lt;p&gt;
If the &lt;em&gt;map_size&lt;/em&gt; element is missing when a map is present, the output size of the &lt;em&gt;map&lt;/em&gt; stack is application-defined.
&lt;/p&gt;

&lt;/div&gt;

&lt;h2 id=&quot;example&quot;&gt;Example&lt;/h2&gt;
&lt;div class=&quot;level2&quot;&gt;
&lt;pre class=&quot;code&quot;&gt;{
    &amp;quot;id&amp;quot; : &amp;quot;decal24&amp;quot;,
    &amp;quot;name&amp;quot; : &amp;quot;Golden Dragon&amp;quot;,
    &amp;quot;map&amp;quot; : [
        {
            &amp;quot;url&amp;quot; : &amp;quot;Images/Happy/Goofy.jpg&amp;quot;,
            &amp;quot;label&amp;quot; : &amp;quot;Goofy&amp;quot;,
            &amp;quot;color&amp;quot; : [ 1.0, 0.2, 0.34 ],
            &amp;quot;transparency&amp;quot; : 0.67,
            &amp;quot;rotation&amp;quot; : 20.3,
            &amp;quot;ymirror&amp;quot; : true,
            &amp;quot;xscale&amp;quot; : 1.7,
            &amp;quot;xoffset&amp;quot; : -0.43,
        },
        {
            &amp;quot;url&amp;quot; : &amp;quot;Images/HeavyLightmap.jpg&amp;quot;,
            &amp;quot;label&amp;quot; : &amp;quot;Heavy Light Map&amp;quot;,
            &amp;quot;color&amp;quot; : [ 1.0, 0.2, 0.34 ],
            &amp;quot;transparency&amp;quot; : 0.4,
            &amp;quot;operation&amp;quot; : &amp;quot;add&amp;quot;,
        }
    ]
}&lt;/pre&gt;

&lt;/div&gt;
</description>
    </item>
</rdf:RDF>
