Nop, low tech solution. I used the 800x800 PNG that someone said was
available. I set the background to a dark grey (for anti-aliasing purposes),
resampled it, wrote the palette out, imported into VC++ (with palette
seperately) and there you have it.
I had to do a couple of pixel edits to sort out minor problems but on the
whole it was fairly easy. All I needed was a high-res original. Let me know
if you'd like me to generate other sizes but anyone should be able to do it
with Paintshop Pro and a bit of work.
BTW. The number of colours and size of icons means that 256 is more than
enough for this application of the icon. 64x64 may still be okay but beyond
that might become a problem. Windows doesn't support true-colour icons
easily (meaning VC++ doesn't support it immediately, probably a limitation
in the .res format). If you want true colour then your looking at repainting
the icon's DC directly and that means Win32 GUI calls, messy considering
dithering goes a long way to solving this with fewer problems.
I have done my first build of Ethereal this weekend after using this
excellent program for many months now. I am looking to improve Ethereal so I
am tackling the Win32 ucd-snmp build at the moment. I'll get back to you
once I have got it working and tested it.
--
Gordon McKinney
http://www.night-ray.com
Mobile +44 (0)7770-957 627
----- Original Message -----
From: "Guy Harris" <gharris@xxxxxxxxx>
To: "Gordon McKinney" <gordon@xxxxxxxxxxxxx>
Cc: <ethereal-dev@xxxxxxxxxxxx>
Sent: Sunday, October 21, 2001 8:15 PM
Subject: Re: [Ethereal-dev] 3D ICON for Win32
> On Sun, Oct 21, 2001 at 12:34:24PM +0100, Gordon McKinney wrote:
> > I have enhanced the standard Ethereal Icon and added the following
> > renderings:
> >
> > * 32x32 - 256 Colour with transparency
> > * 16x16 - 256 Colour with transparency
> > * 16x16 - 16 Colour
> >
> > I have attached the new .ico file to this mail, would someone be kind
enough
> > to check it into CVS.
>
> Done.
>
> How did you generate the icons? Did you use POV-Ray to generate them
> from the description, or did you edit the existing icons?
>
> It might be nice to have 65536 and 2^24-color icons for Windows, as well
> as having PNG icons for KDE in various sizes and color palettes, as per
> the KDE style guide
>
> http://www.kde.org/artist/applications.html
>
> http://www.kde.org/artist/colordepth.html
>
> (Does anybody know what other desktop environments and window managers
> in UNIX/X have as icon-set conventions?)
>