Solved

Transparent images

Posted on 2004-08-22
6
167 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

830 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