on. The object records:</p><ul>
<li>the dimension of the image (<code>lx</code>, <code>ly</code>).</li>
<li>a pointer to the memory buffer <code>buffer[]</code> of pixel colors of type <code>color_t</code> (the template color type of the image).</li>
<li>a <code>stride</code> value that is the number of pixels per image row (which may be larger than <code>ly</code> when working with sub-images).</li>
</ul>
<p >In particular, <b>the image object does not contain the pixels buffer itself</b> but only a pointe