Use transparent pixels in pictures

Have you ever wanted to use Images with transparent Pixels in Notes and worked around it by setting the Background color of the Picture to the same color of you Form Background? Then this Tip is for you!

All you need is a program you can define a transparent color for you images. I use always MS PowerPoint for this and have not tried other programs but that does not mean that other tools can't do the trick as well. Just - I have yet to find another tool that handles ransparencies :-)

Here is what you do:
a) copy the image you want to have transparency into PowerPoint
b) open the picture toolbar and choose the transparency color picker
c) click the color that you want to make transparent
d) copy the image again

When you now paste it into Lotus Notes, e.g. into a Layout Region, it has maintained the transparency information! Voila!

Even better, if the image you want to copy is a metafile (e.g. *.wmf) and already has some transparency in it, you can exclude steps b) and c).

You can even draw in PowerPoint, group everything together you want to use and copy and paste it into Lotus Notes!

Note: Make sure that the color used for the Transparency (the one that covers the area that is supposed to be transparent) is used ONLY in that specific area, otherwise it might lead to unexpected results with areas partly transparent that are not supposed to, just because they have the same color - e.g. white or black. To avoid this, fill the area with an odd color that you will not have used in your picture (e.g. cyan) before pasting it into PowerPoint. This works exceptional well with black or white borders.

This was first published in July 2002

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.