<?xml version="1.0"?>
<page id="Gimp.ColorTransform.process_pixels"
      type="topic"
      style="method"
      xmlns="http://projectmallard.org/1.0/"
      xmlns:api="http://projectmallard.org/experimental/api/"
      xmlns:ui="http://projectmallard.org/1.0/ui/">
  <info>
    <link xref="Gimp.ColorTransform" group="method" type="guide"/>
    <api:function>
      <api:returns>
        <api:type>void</api:type>
      </api:returns>
      <api:name>gimp_color_transform_process_pixels</api:name>
      <api:arg>
        <api:type>Babl.Object</api:type>
        <api:name>src_format</api:name>
      </api:arg>
      <api:arg>
        <api:type>void</api:type>
        <api:name>src_pixels</api:name>
      </api:arg>
      <api:arg>
        <api:type>Babl.Object</api:type>
        <api:name>dest_format</api:name>
      </api:arg>
      <api:arg>
        <api:type>void</api:type>
        <api:name>dest_pixels</api:name>
      </api:arg>
      <api:arg>
        <api:type>Number(gsize)</api:type>
        <api:name>length</api:name>
      </api:arg>
    </api:function>
  </info>
  <title>Gimp.ColorTransform.prototype.process_pixels</title>
  <synopsis><code mime="text/x-gjs">
function process_pixels(src_format: <link href="../Babl-0.1/Babl.Object.html">Babl.Object</link>, src_pixels: void, dest_format: <link href="../Babl-0.1/Babl.Object.html">Babl.Object</link>, dest_pixels: void, length: Number(gsize)): void {
    // Gjs wrapper for gimp_color_transform_process_pixels()
}
  </code></synopsis>
  <p>This function transforms a contiguous line of pixels.</p>  <p>See <link xref="Gimp.ColorTransform.new"/>: only the pixel encoding of
<code>src_format</code> and <code>dest_format</code> is honored, their color spaces are
ignored. The transform always takes place between the color spaces
determined by <code>transform</code>'s color profiles.</p>
  <p>Since 2.10</p>
<terms>
<item>
<title><code>src_format</code></title>
  <p>#Babl format of <code>src_pixels</code></p>
</item>
<item>
<title><code>src_pixels</code></title>
  <p>pointer to the source pixels</p>
</item>
<item>
<title><code>dest_format</code></title>
  <p>#Babl format of <code>dest_pixels</code></p>
</item>
<item>
<title><code>dest_pixels</code></title>
  <p>pointer to the destination pixels</p>
</item>
<item>
<title><code>length</code></title>
  <p>number of pixels to process</p>
</item>
</terms>

</page>
