How can i copy raw image buffer to a dc?
-
I am able to display a bitmap using bltblit() function. Now i have a raw image buffer. I want to display this data to my window using the device context. I have the current HDC. should i have to create a bitmap from this raw buffer. Please help me.
-
I am able to display a bitmap using bltblit() function. Now i have a raw image buffer. I want to display this data to my window using the device context. I have the current HDC. should i have to create a bitmap from this raw buffer. Please help me.
I guess it depends on the raw image buffer format. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke -
I guess it depends on the raw image buffer format. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain ClarkeWhat is the solution for this problem?
-
What is the solution for this problem?
As I've already pointed out, knowledge of the raw image data format maybe a good start. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke -
As I've already pointed out, knowledge of the raw image data format maybe a good start. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain ClarkeI am not getting your point.I have a 800 x 600 x 4 RGBA raw image buffer. I want to display this on current HDC. My question is should i have to create a bitmap for this buffer and then should i use bltblit () function. Curently i am able to display a bitmap on current HDC. Please elaborate your idea in little details. Thanks, Soumyadipta De
-
I am not getting your point.I have a 800 x 600 x 4 RGBA raw image buffer. I want to display this on current HDC. My question is should i have to create a bitmap for this buffer and then should i use bltblit () function. Curently i am able to display a bitmap on current HDC. Please elaborate your idea in little details. Thanks, Soumyadipta De
Soumyadipta wrote:
My question is should i have to create a bitmap for this buffer and then should i use bltblit () function.
Yes. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke -
Soumyadipta wrote:
My question is should i have to create a bitmap for this buffer and then should i use bltblit () function.
Yes. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain ClarkeIs there is any other alternative other than creating a bitmap? Thanks, Soumyadipta De
-
Is there is any other alternative other than creating a bitmap? Thanks, Soumyadipta De
IMHO nope. But there are a lot of tutorials about. Have a look at
GDI
articles here atCP
. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke -
IMHO nope. But there are a lot of tutorials about. Have a look at
GDI
articles here atCP
. :)If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain ClarkeThanks for you help.But i am not understanding one thing that, if it's not possible to do this in any other way then what you are suggesting to find me in the GDI tutorials? Thanks, Soumyadipta De
-
Thanks for you help.But i am not understanding one thing that, if it's not possible to do this in any other way then what you are suggesting to find me in the GDI tutorials? Thanks, Soumyadipta De
How to build a bitmap. :)
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke