1

I am so close to completing resize.c here. The resulting bitmaps look perfect in both xxd and when viewed in Image Viewer. However, the program does not pass any check50 requirements aside from the fact that it exists & compiles. Any guidance is much appreciated.

[hid code behind edit flag per academic honesty guidelines]

4

Be sure to verify the values in the headers. you can do this by resizing a test image using the staff version, then your own, and running

~cs50/pset4/peek staff.bmp student.bmp

to compare. you will find that some of your values are incorrect. Seeing the staff's correct values should help you figure out why yours aren't.

2
  • Solved! Peek was a great reminder to the negative nature of biHeight. "Why is the height over 4 billion?" ;) Thanks again.
    – bperrydev
    Oct 7 '15 at 5:33
  • You're welcome. :)
    – curiouskiwi
    Oct 7 '15 at 6:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .