nsanga
asked on
How to place a bitmap in the transparent mode on other bitmap?
Hi Experts,
I have an image loaded in a picture box. I would like to put other image at some point (x, y) in the transparent mode in the picture box.
Please help me
Regards,
Narahari Sanga
I have an image loaded in a picture box. I would like to put other image at some point (x, y) in the transparent mode in the picture box.
Please help me
Regards,
Narahari Sanga
hi
try this project...
it's about how to make transparent image :
http://www20.brinkster.com/waelss/region.zip
Best Wishes
Wael-s
try this project...
it's about how to make transparent image :
http://www20.brinkster.com/waelss/region.zip
Best Wishes
Wael-s
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi Wael-s,
Thanks a lot for a wonderful example and the source code.
I executed the application and observed that the image is transparent with the color it obtained at 0,0. However, I would like to write the watermark text in the transparent mode on an image. For that, I may create a BMP and place on the underlying image in transparent mode. In other words, the application should do something like get the pixel of the underlying image and should merge the pixel of the watermark image at that place in the transparent mode.
Please let me know if you know about it. Once again, thanks a lot for your kind co-operation.
The watermark text may be placed in Horizontal/Vertical/Diagon al
Regards,
Narahari Sanga
Thanks a lot for a wonderful example and the source code.
I executed the application and observed that the image is transparent with the color it obtained at 0,0. However, I would like to write the watermark text in the transparent mode on an image. For that, I may create a BMP and place on the underlying image in transparent mode. In other words, the application should do something like get the pixel of the underlying image and should merge the pixel of the watermark image at that place in the transparent mode.
Please let me know if you know about it. Once again, thanks a lot for your kind co-operation.
The watermark text may be placed in Horizontal/Vertical/Diagon
Regards,
Narahari Sanga
ASKER
Ark,
I would like to draw the watermark text. So the text strokes should be transparent with the underlying image. For that, I want to create an image of the watermark text and place the image on the DC of the underlying image.
It seems, using the TransparentBlt the underlying image is not transparent
With regards,
Narahari Sanga
I would like to draw the watermark text. So the text strokes should be transparent with the underlying image. For that, I want to create an image of the watermark text and place the image on the DC of the underlying image.
It seems, using the TransparentBlt the underlying image is not transparent
With regards,
Narahari Sanga
Hi
Check out my sample implementing msimg32.dll futures: http://www.freevbcode.com/ShowCode.Asp?ID=1501
Regards
Ark
Check out my sample implementing msimg32.dll futures: http://www.freevbcode.com/ShowCode.Asp?ID=1501
Regards
Ark
ASKER
Ark,
Thanks for the link. I am getting a run time error saying the msimg32.dll not found. I am working on NT. I copied the file from WinXP. It doesn't seem to resolve the problem.
Please let me know what I should to resolve the problem to checkout the sample.
Regards,
Narahari Sanga
Thanks for the link. I am getting a run time error saying the msimg32.dll not found. I am working on NT. I copied the file from WinXP. It doesn't seem to resolve the problem.
Please let me know what I should to resolve the problem to checkout the sample.
Regards,
Narahari Sanga
Hi
Did you copy dll into %system% directory?
Did you copy dll into %system% directory?
ASKER
Ark,
I copied the DLL into system directory
Regards,
Narahari Sanga
I copied the DLL into system directory
Regards,
Narahari Sanga
ASKER
Ark,
I have also given the full path to try the sample. However, the problem remains the same
Regards,
Narahari Sanga
I have also given the full path to try the sample. However, the problem remains the same
Regards,
Narahari Sanga
Hi nsanga,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Split points between: wael-s and Ark
nsanga, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept THIS comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:
Split points between: wael-s and Ark
nsanga, if you think your question was not answered at all or if you need help, just post a new comment here; Community Support will help you. DO NOT accept THIS comment as an answer.
EXPERTS: If you disagree with that recommendation, please post an explanatory comment.
==========
DanRollins -- EE database cleanup volunteer
ASKER
Admin,
Please close this question as I couldn't get correct information.
Regards,
Narahari Sanga
Please close this question as I couldn't get correct information.
Regards,
Narahari Sanga
ASKER
The 1st image should be see through.
Please help me if anybody knows about it.
Regards,
Narahari Sanga