Automatic resizing of templates

If the dimensions of a user photo are smaller than the dimensions of the template, the photo will be upscaled to match the template size. If the difference in their sizes is quite noticeable, the user photo will look blurred and low quality in the template.

To avoid problems related to size mismatch, use the automatic resizing option.

To do so, check the Avoid photo scaling box in the New project or Edit project dialog and specify the minimum size of the template, taking into account its shorter side (see the screenshot below).

  • If a user photo is larger than the template, the photo will be downsized to the size that will make it possible to insert the photo properly into the template. The dimensions of the template remain unchanged in this case.
  • If a user photo is smaller than the template, the template graphics will be downsized to match the size of a user photo.
  • In case if a user photo is smaller than the specified minimum size of the template, then the template will be downsized to that specified limit, and the userphoto will be upsized to the limit.

This option cannot be used with sticker or filter templates, as in these types of templates the graphics is always downscaled or upscaled to match a user photo size.

If there are several user photos in a template, you need to specify one photo whose size will be used for resizing. To do so, choose a user photo region with a desired photo index, then set the value of the Do not scale parameter to true.

As a result, the template graphics will be resized to match the size of a user photo with a specified index number.

If there are several user photo regions that have the same index number as the chosen photo, then the value of the Do not scale parameter will be applied to all of them.

If you change the value of the Do not scale parameter from true to false, you’ll get the following error message:

The point is that a template must contain one particular photo whose size will be used as a sample for the template canvas. If you want to set the Do not scale parameter to false for a particular photo, you need to set this parameter to true for another photo (with another index number). As a result, the value of this parameter will be false for user photo regions with other index numbers.

By default, Do not scale = true for a user photo region with 0 index number.