<doc>
  <legacy_id>1814</legacy_id>
  <name>screenGamma</name>
  <type>property</type>
  <syntax>
    <example>set the screenGamma to <i>gammaValue</i></example>
  </syntax>
  <library></library>
  <objects>
    <global/>
  </objects>
  <synonyms>
  </synonyms>
  <classification>
    <category>Images &amp; Multimedia</category>
  </classification>
  <references>
    <property tag="dontDither">dontDither Property</property>
  </references>
  <history>
    <introduced version="1.0">Added.</introduced>
  </history>
  <platforms>
    <mac/>
    <windows/>
    <linux/>
  </platforms>
  <classes>
    <desktop/>
    <server/>
    <web/>
  </classes>
  <security>
  </security>
  <summary>Specifies the <glossary tag="gamma">gamma</glossary> <function tag="value">value</function> used for displaying <glossary tag="PNG">PNG</glossary> <glossary tag="image">images</glossary>.</summary>
  <examples>
    <example>set the screenGamma to 2.2</example>
  </examples>
  <description>
    <p>Use the <b>screenGamma</b> <glossary tag="property">property</glossary> to control the color display of <glossary tag="PNG">PNG</glossary> <glossary tag="image">images</glossary>.</p><p/><p><b>Value:</b></p><p>The <b>screenGamma</b> is a number.</p><p/><p><b>Comments:</b></p><p>PNG images can contain a preferred gamma setting. To display a PNG to best advantage, you may need to adjust the <b>screenGamma</b> <glossary tag="property">property</glossary> to match what the <glossary tag="PNG">PNG</glossary> expects.</p><p/><p>Changes in the <b>screenGamma</b> do not apply to <glossary tag="PNG">PNG</glossary> <glossary tag="image">images</glossary> that are already displayed. A <glossary tag="PNG">PNG</glossary> <keyword tag="image">image</keyword> uses the <b>screenGamma</b> that was in effect when it was being decompressed for display.</p><p/><p><code/><img src="202651"/> <b>Tip:</b><code/> To force LiveCode to re-decompress a <glossary tag="PNG">PNG</glossary> <keyword tag="image">image</keyword> without leaving the <keyword tag="card">card</keyword>, put the <keyword tag="image">image</keyword> into itself:</p><p/><p><code>  set the screenGamma to 2.2</code></p><p><code>  put image "Test PNG" into image "Test PNG"</code></p>
  </description>
</doc>