Home > Domino Tips > Developer > Other > Use transparent pixels in pictures
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

OTHER

Use transparent pixels in pictures



07.01.2002
Rating: -2.50- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


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!

Code

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.

Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Other
Create a dynamic user-driven navigator for a Notes/Domino application
How to apply XSL style sheets to XML views
Comparing replicas on clustered Lotus Domino servers
Creating a Lotus Notes view column categorized by month
Using the XMLHTTP object for integration with Domino or any RDBMS back end
Hiding field properties/data from DocProperties box
Export a view to Excel without coding
Prevent document deletion if there are response documents
Switching between test IDs quickly
AddParameter to a NotesXSLTransFormer

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

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.



Domino & Lotus Notes Security Solutions: Authentication, Antispam, Encryption and Antivirus
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts