Theses are my observations so far:
- It can resize the smiley.bmp properly without distorting the image. What I'm not sure about is whether or not the contents of its headers are right.
- It can resize the small.bmp properly, size-wise. However, it distorts the image if the resize factor is not a multiple of 4.
- When the headers of the small.bmp resized by a factor of 4 is compared to the staff's version, everything but the bfSize is right.
- Even if I hardcode the right bfSize when the resize factor is 4, check50 still states that it does not resize properly when a 1x1 bmp file is resized by 4.
Now my question is, where did I go wrong? I've been stuck here for weeks, so I'd really appreciate any help. Thank you very much!