iv class="line"> </div>
<div class="line"><a class="code hl_class" href="classtgx_1_1_image.html">tgx::Image&lt;tgx::RGB32&gt;</a> im2 = im({20, 50, 100, 200}); <span class="comment">// create a sub-image restricted ot the region [20,50]x[100,200] of im2. </span></div>
<div class="line"> </div>
<div class="line">im0.<a class="code hl_function" href="classtgx_1_1_image.html#a9d703268591c2d95cc2be2427fb62a3f">lx</a>(); <span class="comment">// width of im1, here it is 320; </span></div>
<div class="line">im2.