I have been working on pset4 resize and it appears (to me at least) to work. I tested it by running smiley through the staff's implementation of resize with n = 4 and comparing results with my own program (same inputs of course).
However, diff states the files differ (smiley1.bmp is mine, smiley2.bmp is staff's), and the program doesn't pass check50 for n > 1.
Nevertheless, the bmp headers look the same using peek (bi.biSizeImage are both 00000c00 btw), and the BMPs themselves look the same.
Any ideas where I might be messing up? I can post snippets of my code if that would help.
Thanks for reading!