-
July 12th, 2006, 02:41 AM
#1
How can i get alpha channel from bmp image?
hi folks
i want to display the transparensy image. so i need to reduce the 50% value in alpha channel. plz help me how can i get the alpha channel from the image. if u have any idea or sample code or any useful link help me. i am waiting for reply as soon as possible.
Thanks and regards
jay
It takes seconds for rating…that actually compensates the minutes taken for giving answers
The biggest guru-mantra is: Never share your secrets with anybody. It will destroy you.
Regards, Be generous->Rate people
Jayender!!
-
July 12th, 2006, 02:45 AM
#2
Re: How can i get alpha channel from bmp image?
Take a look at ::AlphaBlend().
Cheers
-
July 12th, 2006, 06:09 AM
#3
Re: How can i get alpha channel from bmp image?
Do you mean you want to alphablend an image, or do you mean you want to display the alpha channel of an image as a black and white image?
-
July 12th, 2006, 08:32 AM
#4
Re: How can i get alpha channel from bmp image?
Originally Posted by golanshahar
i want to display the alpha channel image in the document view architecture can u give the sample code for geting handle of HDC hdcDest, it will work only View OnDraw() not hte other function. can u give the example for that transoarency image.plz as soon as reply.
If I Helped You, "Rate This Post"
Thanks
Guna
-
July 12th, 2006, 08:34 AM
#5
Re: How can i get alpha channel from bmp image?
Originally Posted by TomWidmer
Do you mean you want to alphablend an image, or do you mean you want to display the alpha channel of an image as a black and white image?
hi i am guna. i want to display the 2 images with transparensy. i can see the bottom layer image trough top layer image.similar to transparent image. plz reply as soon as possible.
If I Helped You, "Rate This Post"
Thanks
Guna
-
July 12th, 2006, 09:36 AM
#6
Re: How can i get alpha channel from bmp image?
Originally Posted by Gunaamirthavelu
i want to display the alpha channel image in the document view architecture can u give the sample code for geting handle of HDC hdcDest, it will work only View OnDraw() not hte other function. can u give the example for that transoarency image.plz as soon as reply.
This thread might help you.
Cheers
-
July 14th, 2006, 03:47 AM
#7
Re: How can i get alpha channel from bmp image?
No. my requirement is similar to montage; overlap the image with trnaparent after that i can veiw the 3d image and drawing the circle and rectangle. using GDI+ is ok. but that code worked in OnDraw() function. i want seperate function for that. display the images in document view architecture this is
not the dialog based application
Thanks andRegards.
If I Helped You, "Rate This Post"
Thanks
Guna
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|