Link to home
Start Free TrialLog in
Avatar of eisenlauer
eisenlauer

asked on

Graphic has shadows in imagelist if set to custom size

Hi!

I'm developing a IE Toolbar and I try to add some icons to it. Everything works fine if the graphic is 16x16 px, but if I set the Imagelist to custom format (80 width x 16 height) then a 1 px black 'shadow' is displayed under my graphic. I use grey as MaskColor.
Any idea where this shadow comes from?
Avatar of Richie_Simonetti
Richie_Simonetti
Flag of Argentina image

1) Did you set custom property and size of imagelist before add any graphic?
2) Are you sure that images are exactly 80x16px?
3) could you check it with a graphic program?
4) did you try setting , in example, 79x15px and see what happens?
ASKER CERTIFIED SOLUTION
Avatar of Richie_Simonetti
Richie_Simonetti
Flag of Argentina image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of eisenlauer
eisenlauer

ASKER

1) yes
2) yes
3) Photoshop says: 80x16
4) this shrinks the pic by 1 px. nothing more.

I created a small sample that displays it a little bit more in detail:
http://www.krasserchecker.de/sample.jpg
Please, don't accept any question that not meet your requirements, even with C grade. It would be better if you ask for delete it or refund points.
C grade is no good for you, no good for me.