PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET Icon vs BitMap

Reply

Icon vs BitMap

 
Thread Tools Rate Thread
Old 21-05-2006, 12:35 AM   #1
=?Utf-8?B?RGVubmlz?=
Guest
 
Posts: n/a
Default Icon vs BitMap


I have about 50 images in my application as "embedded resources". They are
Icon size (16x16 and 24x24 and 32x32). I can use either the bitmap version
or convert them to Icons. Either way seems to work ok (I make the color of
the upper left pixel in the bitmap's the transparent color). I noted that
the Icons take up 25k and the bitmaps only 1k). Which would be the
recommended way to go, i.e., icons or bitmaps in my imagelist? Any guidance
would be appreciated (VB.Net 2003)
--
Dennis in Houston
  Reply With Quote
Old 21-05-2006, 09:01 AM   #2
gene kelley
Guest
 
Posts: n/a
Default Re: Icon vs BitMap

On Sat, 20 May 2006 16:35:01 -0700, Dennis
<Dennis@discussions.microsoft.com> wrote:

>I have about 50 images in my application as "embedded resources". They are
>Icon size (16x16 and 24x24 and 32x32). I can use either the bitmap version
>or convert them to Icons. Either way seems to work ok (I make the color of
>the upper left pixel in the bitmap's the transparent color). I noted that
>the Icons take up 25k and the bitmaps only 1k). Which would be the
>recommended way to go, i.e., icons or bitmaps in my imagelist? Any guidance
>would be appreciated (VB.Net 2003)


There are standard type icons and then there are XP type icons, not
to mention bitmap and png formats.

The 25k icon size may indicate that it's a multi-res icon. When I run
across a multi-res file where I only want one particular icon size, I
extract that icon for use in which case the icon is usually about 1K.
I have run into mult-res files that can run as high as 96k.

I'm not sure what VB2003 supports as the toolbar and menu in that
version has been replaced with toolstrip and menustrip in VB2005.

I personally use XP type icons as first choice, otherwise png files.
They are 32 bit where the background is always transparent without
regard to any transparent color key. If any of the various sizes are
of the same icon, I'll make a multi-res icon rather than two or three
separate icons.

Gene
  Reply With Quote
Old 31-05-2006, 12:09 AM   #3
=?Utf-8?B?RGVubmlz?=
Guest
 
Posts: n/a
Default Re: Icon vs BitMap

Any guidance as to how I can extract one size icon from a multi-res icon?
--
Dennis in Houston


"gene kelley" wrote:

> On Sat, 20 May 2006 16:35:01 -0700, Dennis
> <Dennis@discussions.microsoft.com> wrote:
>
> >I have about 50 images in my application as "embedded resources". They are
> >Icon size (16x16 and 24x24 and 32x32). I can use either the bitmap version
> >or convert them to Icons. Either way seems to work ok (I make the color of
> >the upper left pixel in the bitmap's the transparent color). I noted that
> >the Icons take up 25k and the bitmaps only 1k). Which would be the
> >recommended way to go, i.e., icons or bitmaps in my imagelist? Any guidance
> >would be appreciated (VB.Net 2003)

>
> There are standard type icons and then there are XP type icons, not
> to mention bitmap and png formats.
>
> The 25k icon size may indicate that it's a multi-res icon. When I run
> across a multi-res file where I only want one particular icon size, I
> extract that icon for use in which case the icon is usually about 1K.
> I have run into mult-res files that can run as high as 96k.
>
> I'm not sure what VB2003 supports as the toolbar and menu in that
> version has been replaced with toolstrip and menustrip in VB2005.
>
> I personally use XP type icons as first choice, otherwise png files.
> They are 32 bit where the background is always transparent without
> regard to any transparent color key. If any of the various sizes are
> of the same icon, I'll make a multi-res icon rather than two or three
> separate icons.
>
> Gene
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

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

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