View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
NickHK NickHK is offline
external usenet poster
 
Posts: 4,391
Default Image control with PNG support

Maybe this will help:
See the LoadPiictureGDI at http://www.bmsltd.ie/Excel/SBXLPage.asp

NickHK

"Dejan" wrote in message
oups.com...
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:
The GIF format supports transparency which you can place on a form or in

an
image control.

NickHK

"Dejan" wrote in message
ups.com...
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