The image is scaled (enlarged or shrinked) to fit the target size. Aspect ratio is kept intact. The scaled image will not be padded or cropped, so target size is likely not the exact requested size. Hence, if you use this option you may also want to set noDim or partialTag to true. Otherwise, the browser will scale the image again.
Works like mode 0, but images are never enlarged.
6 May 2021