Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Image control with PNG support
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 |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Image control with PNG support
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 |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Image control with PNG support
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 |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
Image control with PNG support
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 "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 |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
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 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
VBA image control | Excel Programming | |||
Programatically control picture property of Image control | Excel Programming | |||
Image control | Excel Programming | |||
Displaying a Tif image in the Image Control | Excel Programming | |||
copy shape image into image control | Excel Programming |