Bansaw
20th April 2011 18:24 UTC
Do I have to use a .BMP file in my installer ?
I am under the impression that I have to use a .bmp file for any graphics I use in NSIS installer.
I'd like transparency for some images that appear in the body of the installer.
Can I use .PNG or .GIF ?
Afrow UK
20th April 2011 22:54 UTC
This is really a general Win32 question. You should do a Google search. If it has not already be done, you're looking at a plug-in or bare minimum a lot of System plug-in usage. Not to mention support may be lacking pre Vista or XP.
Stu
T.Slappy
21st April 2011 07:12 UTC
It depends on the way you want to use your image.
In general Windows accept all OLE objects for image which can be .bmp .jpg .gif .png or .ico file.
Highcoder
21st April 2011 07:19 UTC
...
Yes, but not with alpha transparency. And that is what he (and many others before) want.
T.Slappy
21st April 2011 10:06 UTC
Originally posted by Highcoder
Yes, but not with alpha transparency. And that is what he (and many others before) want.
PNG and GIF support transparency...
Maybe he thinks about transparent form below the images? (by default the form is gray)
That is the different!
Highcoder
21st April 2011 13:29 UTC
...
PNG, GIF and even BMP supports transparency. But isn´t it that NSIS doesn´t support that? I remember that i´ve tried 32bit bmp´s and PNG´s but that doesn´t work for me...
MSG
22nd April 2011 06:12 UTC
The problem is that win32 doesn't (easily) support it. But are we really talking about alpha-layer type transparency? Or just on/off transparency? Because the latter is possible with BMPs. I think all you have to do is use #FF00FF color (magenta) for every pixel you want transparent. But maybe you need to set some flag as well, I guess google should know.