sp;targetLength)</pre>
<div class="block">Set the target length of the image. You only need to specify the target length of the longer side (or either side if it's a square). Resizer will calculate the rest automatically.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>targetLength</code> - The target image length in pixel. The default value is 1080.</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This Resizer instance, for chained settings.</dd>
</dl>
</li>
</ul>
<a na