Archive: Branding Image


Branding Image
How do I manage to fit a branding image of size 160x300 in the installer ? It always gets cut off at the bottom. Exact code will be very much helpful


When you use AddBrandingImage NSIS tells you in its output the size of the image in pixels (calculated for normal display, no large fonts or anything). You should make your image that size or you can create your own UI. AddBrandingImage tries to get the closest value to your height/width request, but most of the times it can't. You can also use /RESIZETOFIT with SetBrandingImage so it will be cut. This will probably result in an ugly stretched picture.