sional array. GIL&#8217;s <code class="docutils literal"><span class="pre">iterator_from_2d</span></code> is a
random access traversal iterator that visits all pixels in an image in
the natural memory-friendly order left-to-right inside
top-to-bottom. It takes a locator, the width of the image and the
current X position. This is sufficient information for it to determine
when to do a &#8220;carriage return&#8221;. Synopsis:</p>
<div class="highlight-cpp"><div class="highlight"><pre><span class="k">template<