WizardImages wrong sizes in "modern" style/ scaling skewes WizardSmallImageFile

227 views
Skip to first unread message

Jörn Bungartz

unread,
Oct 12, 2022, 7:31:51 AM10/12/22
to innosetup
I just encountered the following three issues:

1. When setting the WizardStyle to "modern", the dpi dependent image sizes given in the manual for WIzardImageFile and WizardSmallImageFile are not correct as the wizard is scaled to 120% in this case.

2. Even when I provide 120% larger images, Inno Setup does not select the proper file to use. This can be seen when setting WizardImageStretch to False. In this case, the available space is not filled even though an image of appropriate size is provided.

3. When WizardImageStretch is set to True, in the "modern" style, the small image is skewed which leads to logos looking off. Used an all red image to illustrate:

This is what goes in (138x140):
2022-10-12 12_26_59-Clipboard.png
This is how its displayed in 250% scaling:

2022-10-12 12_28_25-biotronik-export-adapter.iss - Inno Setup Compiler 6.2.1  [Running].png

When taking a screenshot and cropping the red area, this is what I get. The image is now 138x147 pixels, i.e., 7 pixels or 5% larger in the y dimension.

2022-10-12 12_28_50-.png

Reply all
Reply to author
Forward
0 new messages