vtsaran
26th June 2003 20:34 UTC
Actual size of an image on a "welcome" screen
Hi,
Is there a way for me to have NSIS preserve the actual size of a bitmap on the screen? What currently happens is that NSIS attempts to stretch the image to fill in available empty space. My image is 2 in by 2 in, but on a "welcome" screen, when inserted", the image looks much taller and narrower.
Thanks,
Victor
Joost Verburg
26th June 2003 20:43 UTC
Stretching is turned on because it should also work with custom DPI settings. If you don't have a full-size image, not stretching is of course better. I'll add an option to the Modern UI.
vtsaran
27th June 2003 04:59 UTC
Originally posted by Joost Verburg
Stretching is turned on because it should also work with custom DPI settings. If you don't have a full-size image, not stretching is of course better. I'll add an option to the Modern UI.
Hi,
So what can I do for now to fix this problem?
Thanks,
Vic
Afrow UK
27th June 2003 10:43 UTC
You will need to modify the MUI system.nsh file.
You need to find the "RESIZETOFIT"
If you search for it, then blank out the part (so there is no longer resietofit), then it might work ok.
-Stu
Joost Verburg
27th June 2003 12:17 UTC
Because of an InstallOptions bug, IO always stretches (even without the RESIZETOFIT flag). This is a flag in ioSpecial.ini, not in System.nsh.
You will have to wait one week before this bug will be fixed and a new version of the Modern UI will be uploaded.
If you need it within a week, create a 164x314 pixels image yourself.
Afrow UK
27th June 2003 15:45 UTC
Yeah.
What I did, was just add white space around my image, so it looked just like the background (and the image didn't look stretched).
-Stu
Joost Verburg
27th June 2003 21:34 UTC
I just had a little bit of time to fix it, earlier than I expected :) See the Modern UI Readme.
vtsaran
28th June 2003 03:20 UTC
Excuse me, where do I download Modern UI from?
Vytautas
28th June 2003 06:21 UTC
Its part of NSIS, just download the latest CSV version of NSIS here
Vytautas