Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
2 votes
2 answers
5k views

Why is RGBTRIPLE in our bitmap 3 bytes? Is that defined somewhere?

This question was asked in the comments of another question, and I think it's a good question, but I wanted to make sure this was addressed in the proper place: How do I know RGB triple is 3 bytes? ...
Dr.Queso's user avatar
  • 253
0 votes
1 answer
118 views

pset 4, resize.c is not working

Here is the code for resize.c I am stuck for quite some time now and i am not able to figure out where i am wrong. please help. bi.biHeight = height*n; bi.biWidth = width*n; // determine new padding ...
Kishore Vasan's user avatar