All Questions
2 questions
1
vote
1
answer
207
views
Questions: Is my small.bmp corrupted?/ How do I read the rgb values of each pixel from the ready outfile?
So this should be a little complex of questions.
1. I want to ask if my small.bmp file looks normal:
I looked at it with the command "xxd -c 12 -g 3 -s 54 small.bmp" and the output was the same as ...
2
votes
1
answer
3k
views
How does “RGBTRIPLE triple;” know whitch pixel to store?
I'm currently working on the cs50 pset4. My question is pretty straight forward: How does the line (marked with caps lock comment) "RGBTRIPLE triple;" knows whicht pixel currently to store? I get the ...