Image control with PNG support

D

Dejan

Hi,

I have an Excel application with all the forms/controls background
color set to ButtonFace (system color). I have a logo in a PNG format
(with background color transparent) that I need to put on the form. But
ImageControl does not support PNG and the other types (BMP; JPG) don't
support transparency.

What is a possible solution? Is there a control that supports PNG,
already embedded in Windows XP/Office 2003? I need to distribute the
application so I would prefer not to depend on third party libraries...

thanks very much

regards, dejan
 
N

NickHK

The GIF format supports transparency which you can place on a form or in an
image control.

NickHK
 
D

Dejan

Thanks,

This is true but GIF supports only 256 colors, as somebody told me, and
my logo has more than 1000. Besides, GIF does not support antialiasing
that PNG does....

dejan

NickHK je napisao/la:
 
N

NickHK

Do you really need >256 colours and anti aliasing for a logo ?
Surely it's not taking up half the userform ?

If you really need it though, maybe display in a webbrowser control.
Does the Rich Text Box support PNG images ?
Or find a custom Active X control on the Web.

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top