PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
Icon vs BitMap
Forums
Newsgroups
Microsoft DotNet
Microsoft VB .NET
Icon vs BitMap
![]() |
Icon vs BitMap |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#2 |
|
Guest
Posts: n/a
|
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 |
|
|
|
#3 |
|
Guest
Posts: n/a
|
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 > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

