Hey everybody!
Sooo , i want to do a program , which read all pixels of a bitmap image on a array 2d , the values to be color value for every pixel , after to do a txt with details of pixels color and when i modify that details , pixels change color !(without GUI function , only console)
Now , my problem is next : what i can use to read/manipulate pixels of a bmp image , all weekend i tried to find something , but without results!
I found easybmp.h library , but when i try to use BMP function i got an error with undefined reference !Whatever , I want to avoid libraries , but if isn't possible , tell me another libray than easybmp.h!
Srry for my english! I hope u understand what i said :D !
Thank you ats15 , that's very helpful .I searched all weekend for something like this and nothing :D!
But finaly , i done , thanks to you!
one question more , if u can answer to me, i saw that project use a include , bitmap_image (very good) , my question is : can I do something like this , without bitmap_image ,only with c++ function?(more exactly , to draw pixel by pixel)
You can draw a bmp image by pixel or any other unit, as pixel is the basic unit of image, you can check the detailed steps in following online tutorial that come from a third party. Meanwhile, I wanna say that sometimes, it maybe a little easier of us to draw objects, such as image, icon, line, ellipse, path, string, polygon, and many more on .NET graphics. I usually take this image drawing solution.