Read Image's RGB co-ordinates
-
Hi All How to read Image's RGB value (only block and white) kindly give me your solution Regards
~
~Raju -
Hi All How to read Image's RGB value (only block and white) kindly give me your solution Regards
~
~RajuYou may use
CBitmap::GetBitmapBits
[^]. :)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
[My articles] -
You may use
CBitmap::GetBitmapBits
[^]. :)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
[My articles]hi Pal thanks for replay .. it can possible load jpeg images and it can possible to render the images w.r.t RGB regards
~
~Raju -
hi Pal thanks for replay .. it can possible load jpeg images and it can possible to render the images w.r.t RGB regards
~
~Rajuhttp://msdn.microsoft.com/en-us/magazine/cc301454.aspx[^]
Thanks and Regards, Selvam, http://www.wincpp.com
-
hi Pal thanks for replay .. it can possible load jpeg images and it can possible to render the images w.r.t RGB regards
~
~Rajurajugis wrote:
it can possible load jpeg images
You may use CImage class for the purpose, see
CImage::Load
[^] and, for instance,CImage::GetPixel
[^]. :)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
[My articles] -
hi Pal thanks for replay .. it can possible load jpeg images and it can possible to render the images w.r.t RGB regards
~
~RajuJust in addition to CPallini's post. If you decide to use
CImage
class you will notice that theGetPixel
andSetPixel
methods are slow. So if you need a fast pixel access you can use this[^] class with combination ofCImage
class. Using CxImage[^] library could also be an option. :) Regards Nuri Ismail -
Just in addition to CPallini's post. If you decide to use
CImage
class you will notice that theGetPixel
andSetPixel
methods are slow. So if you need a fast pixel access you can use this[^] class with combination ofCImage
class. Using CxImage[^] library could also be an option. :) Regards Nuri IsmailNuri Ismail wrote:
Just in addition to CPallini's post. If you decide to use CImage class you will notice that the GetPixel and SetPixel methods are slow.
:thumbsup: That was the reason of 'for instance'. :-D
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
[My articles]