|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Icon vs BitMapI 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 On Sat, 20 May 2006 16:35:01 -0700, Dennis
<Den***@discussions.microsoft.com> wrote: >I have about 50 images in my application as "embedded resources". They are There are standard type icons and then there are XP type icons, not>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) 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 Any guidance as to how I can extract one size icon from a multi-res icon?
-- Show quoteHide quoteDennis in Houston "gene kelley" wrote: > On Sat, 20 May 2006 16:35:01 -0700, Dennis > <Den***@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 >
logic gates in VB.NET 2005
string extraction Transparent Form surface My.Application.Log.WriteEntry Is Cool, But Formated Information SUCKS Service unable to start Send Image in .NET Remoting Standard Method for Importing/Exporting to DB Last position.. Batch Update ADO.Net Sorting a collection of collections? |
|||||||||||||||||||||||