Old 9th March 2017, 12:38   #1
Aleksey
Junior Member
 
Join Date: Mar 2017
Posts: 3
Lightbulb nsis image

Hello, can some one help me with adding image without background to my custom page(not MUI)?

I have problems to adding image that have no background. I am trying a lot of plugins, but it doesn't help. The problem is when i fill the image with background color it's looking so horrible, but it's adding to my page.

And one more question.

I am also using default page (page directory) that automatically adding my icon image to the left top corner without any problems. At start of my nsi script i set up Icon variable like:
Icon "image.ico"

Can i find source of default pages to do the same?

P.s. my "image.ico" doesn't have background and when default page add this image there is no problems occurred.

Thank you!
Aleksey is offline   Reply With Quote
Old 9th March 2017, 17:26   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,446
Icons are normally transparent, other images are not. The directory page uses a static control to display the icon. There should be similar code available when using a custom page.

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump