iv class="sourceCode"><pre class="sourceCode r"><code><span><span class="fu">Resize</span><span class="op">(</span><span class="va">size</span>, method <span class="op">=</span> <span class="st">"crop"</span>, pad_mode <span class="op">=</span> <span class="st">"reflection"</span>, resamples <span class="op">=</span> <span class="fu"><a href="https://rdrr.io/r/base/list.html" class="external-link">list</a></span><span class="op">(</span><span class="fl">2</span>, <span class="fl">0</span><span class="op">)<