Solved

Transparent images

Posted on 2004-08-22
6
165 Views
Last Modified: 2010-04-05
How can I change the transparency level of an image to 50 % without using the alphablend property( it doesn't work under win98 and my code must work under win98 too)

Thanks,
roniks
0
Comment
Question by:roniks
  • 2
6 Comments
 
LVL 11

Expert Comment

by:Jase-Coder
ID: 11866244
Alphablend only works with windows 2000 upwards. Check the link below ths may help

http://search.microsoft.com/search/results.aspx?view=msdn&st=b&na=82&qu=alpha+blending&s=1

if you decide to use directX you can use it in delphi by downloading the DelphiX component
0
 
LVL 11

Accepted Solution

by:
Jase-Coder earned 125 total points
ID: 11866250
This article will help

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/gdicpp/gdiplus/usinggdiplus/alphablendinglinesandfills/usingcompositingmodetocontrolalphablending.asp

The example code is in C but the functions will have the same name since it is the windows API
0
 
LVL 12

Assisted Solution

by:Ivanov_G
Ivanov_G earned 125 total points
ID: 11866535
http://swiss.torry.net/transparent.htm

download TTranImage components. As I understand, this is what you are looking for...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now