|
| toolbar image quality... :( |
 |
23 Aug 2006 18:23:28 -0700 |
Hey guys,
I am having heaps of trouble with image quality of toolbarbutton... it is simply
shit...
link for the image:
<a href="http://img246.imageshack.us/my.php?image=winformlh2.jpg"
target="_blank"><img
src="http://img246.imageshack.us/img246/5075/winformlh2.th.jpg"
border="0" alt="Free Image Hosting at www.ImageShack.us"
/></a>
I am very upset with the quality of the image on toolbar button... I am using
.NET 1.1, using c# in delphi 2006 ...
please help!!!!!!!!
|
| Post Reply
|
| Re: toolbar image quality... :( |
 |
Thu, 24 Aug 2006 09:15:53 +020 |
What is the format of your bitmaps?
32 bit ARGB?
32 bit RGB?
...
8 bit 265 color table?
Do you use the transparent color?
.....
|
| Post Reply
|
| Re: toolbar image quality... :( |
 |
24 Aug 2006 12:52:16 -0700 |
Thanks for the reply
I have tried using GlyFX's Icons of type PNG and size is 24x24. I am using
imagelist to add my icons to the toolbar. Before importing the images to
imagelist i change the propetries to following:
image size: 24, 24 (tried diffrent sizes)
colour depth: 32 bit (tried other depths as well)
NOTE: I reload all the images from the GlzFX each time is change the size or
quality otherwise it takes the embedded image in the .rex file and changes
it...
Toolbar is having following properties:
style: flat (tried using the regular one as well)
Autosize: true
Size: 50, 50 (sometimes it sizes according to this or sometimes it does the
autosize)
Imagelist: is the one which i created
all the other properties in the toolbar and imagelist are same...
Its quite anoying with the image quality as GUI is for end user and if the image
quality is shit then it doesn't look like a professional windows app. Please
help...
"Horst Reichert" <horst.reichert@rt-science.de> wrote:
>What is the format of your bitmaps?
>32 bit ARGB?
>32 bit RGB?
>...
>8 bit 265 color table?
>
>Do you use the transparent color?
>.....
>
>
|
| Post Reply
|
| Re: toolbar image quality... :( |
 |
Fri, 25 Aug 2006 09:15:50 +020 |
The major problem is that the standard toolbar button images do not support
transparency (even with VS-Studio 2005). Thus fancy drop down shadows etc.,
that make normal application icons so nice looking, will display as ugly
dark grey borders. Thus be sure that designing your bitmaps for tool buttons
do produce them without XP-Transparency. When creating the image list, you
should modify the ColorDepth to Dpth32Bit or Depth24Bit before adding the
images.
I hope your design will improve with these hints.
I also hope that someday transparent XP-bitmaps will be displayed correctly
with the standard toolbar buttons.
Regards Horst
|
| Post Reply
|
| Re: toolbar image quality... :( |
 |
31 Aug 2006 13:31:25 -0700 |
thanks horst, got a dojy way to fix it but after each
Application.EnableVisualStyles();
do
Application.DoEvents();
And it works fine.... lol
Thanks again
"Horst Reichert" <horst.reichert@rt-science.de> wrote:
>The major problem is that the standard toolbar button images do not support
>transparency (even with VS-Studio 2005). Thus fancy drop down shadows etc.,
>that make normal application icons so nice looking, will display as ugly
>dark grey borders. Thus be sure that designing your bitmaps for tool buttons
>do produce them without XP-Transparency. When creating the image list, you
>should modify the ColorDepth to Dpth32Bit or Depth24Bit before adding the
>images.
>
>I hope your design will improve with these hints.
>
>I also hope that someday transparent XP-bitmaps will be displayed correctly
>with the standard toolbar buttons.
>
>
>
>Regards Horst
>
>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|