Old 27th April 2001, 09:10   #1
Dave Carter
Junior Member
 
Join Date: Apr 2001
Posts: 9
Hi all,

This sounds like a really basic problem, but about 5 of us spend at least an hour trying to figure it out with no results, so here goes.

I'm trying to make an icon for an NSIS installer, and because NSIS is restricted to 16 colours, the icon needs a custom palette so it doesn't look really bad. We've tried just doing a 32x32x16 colour bitmap and saving t as a .ico, NSIS doesn't like it. We've used two different icon editing packages, but we can't seem to get custom palettes working properly. We've actually got an icon from an old project that works fine, and gets accepted into NSIS, but we can't remember how it was made!

If anyone's got the ABC of NSIS icon creation (and I'm talking press this button, choose this menu type depth) I'd be very grateful if you could get in touch! Cheers.
Dave Carter is offline   Reply With Quote
Old 27th April 2001, 10:09   #2
arune
Junior Member
 
Join Date: Apr 2001
Posts: 18
Send a message via ICQ to arune
I don´t think there is a way to use custom palettes...
You can only use the 16 standard colors.
The reason that you are limited to 16 is that then the icon doesn´t consume as much space,
the icon doesn´t have to contain information about which colors that are used.
----------
/arune
arune is offline   Reply With Quote
Old 27th April 2001, 10:23   #3
Dave Carter
Junior Member
 
Join Date: Apr 2001
Posts: 9
I don't know, the icon I said works definitely has a custom palette (about 16 shades of green and NSIS accepts that fine.
Dave Carter is offline   Reply With Quote
Old 27th April 2001, 10:52   #4
arune
Junior Member
 
Join Date: Apr 2001
Posts: 18
Send a message via ICQ to arune
Ok, I was wrong. I´ve jsut tried IconForge v4.7 and it worked, I created an icon in custom 16 colors and tested it as an icon in NSIS, no problem.
Here´s how to do it:

Create a new 16 color icon (not animated!)
On the bottom toolbar, dubbleclick on the palette(any of the colors)
Here you are able to change any of the colors

/arune

[Edited by arune on 04-27-2001 at 07:16 AM]
arune is offline   Reply With Quote
Old 28th April 2001, 21:19   #5
arune
Junior Member
 
Join Date: Apr 2001
Posts: 18
Send a message via ICQ to arune
Did you get it to work Dave?
/arune
arune is offline   Reply With Quote
Old 29th April 2001, 11:23   #6
Deep-Trouble
Junior Member
 
Join Date: Apr 2001
Posts: 49
hi,
I use VC++ to create my Icons... u can choose 32x32 16 color i.e., the standard icon and easily draw one., or use Irfan view to change any picture into an icon., and it works fine...!
-Deep
Deep-Trouble is offline   Reply With Quote
Old 30th April 2001, 09:19   #7
Dave Carter
Junior Member
 
Join Date: Apr 2001
Posts: 9
Thanks arune, that worked first time! I downloaded IconForge 5.2 I think, just imported the .bmp we wanted to use, saved it out again as a .ico and NSIS took it no problems, custom palette and all.

Thanks for the suggestion DT, I think we tried it and couldn't get the custom palette thing to work though? I may be wrong though, I didn't try it myself!
Dave Carter 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