Solved

Graphic has shadows in imagelist if set to custom size

Posted on 2003-11-10
5
187 Views
Last Modified: 2010-05-01
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?
0
Comment
Question by:eisenlauer
  • 3
5 Comments
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 9717937
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?
0
 
LVL 16

Accepted Solution

by:
Richie_Simonetti earned 250 total points
ID: 9717953
5) Are you that maskcolor match with image EXACTLY?
0
 

Author Comment

by:eisenlauer
ID: 9718042
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
0
 
LVL 16

Expert Comment

by:Richie_Simonetti
ID: 10252167
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.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

27 Experts available now in Live!

Get 1:1 Help Now