<doc>
  <legacy_id>1280</legacy_id>
  <name>dontDither</name>
  <type>property</type>
  <syntax>
    <example>set the dontDither of <i>image</i> to {true | false}</example>
  </syntax>
  <library></library>
  <objects>
    <image/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Images &amp; Multimedia</category>
  </classification>
  <references>
    <property tag="colorMap">colorMap Property</property>
    <function tag="screenDepth">screenDepth Function</function>
    <property tag="screenGamma">screenGamma Property</property>
    <property tag="bufferHiddenImages">bufferHiddenImages Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
    <ios/>
    <android/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
    <mobile/>
  </classes>
  <security>
  </security>
  <summary>Specifies whether 24-bit <glossary tag="image">images</glossary> are <glossary tag="dither">dithered</glossary> on displays with fewer colors.</summary>
  <examples>
    <example>set the dontDither of image "Photo" to false</example>
    <example>set the dontDither of image "Line Art" to true</example>
  </examples>
  <description>
    <p>Use the <b>dontDither</b> <glossary tag="property">property</glossary> to control how <glossary tag="bitmap">bitmapped</glossary> <glossary tag="image">images</glossary> such as <glossary tag="JPEG">JPEGs</glossary> or <glossary tag="PNG">PNGs</glossary> behave when the <object tag="stack">stack</object> is used on a display whose <glossary tag="bit depth">bit depth</glossary> is 8 <glossary tag="bit">bits</glossary> (256 colors) or fewer.</p><p/><p><b>Value:</b></p><p>The <b>dontDither</b> of an <keyword tag="image">image</keyword> is true or false.</p><p/><p>By default, the <b>dontDither</b> <glossary tag="property">property</glossary> of newly created <glossary tag="image">images</glossary> is set to false.</p><p/><p><b>Comments:</b></p><p>If the <b>dontDither</b> of an <keyword tag="image">image</keyword> is set to true, then when that <keyword tag="image">image</keyword> is displayed on an 8-<glossary tag="bit">bit</glossary> screen, colors that are not part of the current <glossary tag="color table">color table</glossary> are displayed as a solid block of the closest available color. This may create visible banding on <glossary tag="image">images</glossary> with continuous gradations of color.</p><p/><p>If the <b>dontDither</b> of an <keyword tag="image">image</keyword> is false, colors that are not part of the current <glossary tag="color table">color table</glossary> are displayed as a <glossary tag="dither">dithered</glossary> pattern made up of two or more close colors, in order to approximate the exact color. This is preferable for <glossary tag="image">images</glossary> such as photographs that include continuous gradations of color, but may produce speckling on <glossary tag="image">images</glossary> with large blocks of solid color.</p><p/><p>The setting of the <b>dontDither</b> <glossary tag="property">property</glossary> has no effect on 24-bit or 16-bit screens.</p>
  </description>
</doc>