downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Our source is open

The syntax highlighted source is automatically generated by PHP from the plaintext script. If you're interested in what's behind the several functions we used, you can always take a look at the source of the following files:

Of course, if you want to see the source of this page, we have it available. You can also browse the Git repository for this website on git.php.net.

Source of: /manual/de/function.imagecolorset.php

<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$PARENTS = array();
include_once
dirname(__FILE__) ."/toc/ref.image.inc";
$setup = array (
 
'home' =>
  array (
   
0 => 'index.php',
   
1 => 'PHP Manual',
  ),
 
'head' =>
  array (
   
0 => 'UTF-8',
   
1 => 'de',
  ),
 
'this' =>
  array (
   
0 => 'function.imagecolorset.php',
   
1 => 'imagecolorset',
  ),
 
'up' =>
  array (
   
0 => 'ref.image.php',
   
1 => 'GD- und Image-Funktionen',
  ),
 
'prev' =>
  array (
   
0 => 'function.imagecolorresolvealpha.php',
   
1 => 'imagecolorresolvealpha',
  ),
 
'next' =>
  array (
   
0 => 'function.imagecolorsforindex.php',
   
1 => 'imagecolorsforindex',
  ),
 
'alternatives' =>
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["parents"] = $PARENTS;
manual_setup($setup);

manual_header();
?>
<div id="function.imagecolorset" class="refentry">
   <div class="refnamediv">
    <h1 class="refname">imagecolorset</h1>
    <p class="verinfo">(PHP 4, PHP 5)</p><p class="refpurpose"><span class="refname">imagecolorset</span> &mdash; <span class="dc-title">
     Setzt die Farbe für den angegebenen Paletten-Index
    </span></p>

   </div>
   <div class="refsect1 unknown-seealsp" id="refsect1-function.imagecolorset-unknown-seealsp">
    <h3 class="title">Beschreibung:</h3>
     <div class="methodsynopsis dc-description">
      <span class="type">bool</span> <span class="methodname"><strong>imagecolorset</strong></span>
       ( <span class="methodparam"><span class="type">resource</span> <code class="parameter">$im</code></span>
      , <span class="methodparam"><span class="type">int</span> <code class="parameter">$index</code></span>
      , <span class="methodparam"><span class="type">int</span> <code class="parameter">$red</code></span>
      , <span class="methodparam"><span class="type">int</span> <code class="parameter">$green</code></span>
      , <span class="methodparam"><span class="type">int</span> <code class="parameter">$blue</code></span>
      )</div>

    <p class="para rdfs-comment">
     Hierdurch setzen Sie den Farbwert der Palette auf die angegebene
     Farbe. Dies ist nützlich bei Aktionen wie &quot;Fülle Farbe X mit
     Farbe Y&quot; (Flood-Fill-Effekt) ohne den sonst notwendigen Aufwand
     für solche Aktionen betreiben zu müssen.
    </p>
    <p class="para">
     Siehe auch  <span class="function"><a href="function.imagecolorat.php" class="function">imagecolorat()</a></span>.
    </p>
   </div>

  </div><?php manual_footer(); ?>
 
show source | credits | sitemap | contact | advertising | mirror sites