So after quite some fiddling I am at a place where, when resizing both small.bmp and smiley.bmp: 1) in- and out-files look the same; 2) peek matches the staff's implementation; and 3) "diff student.bmp staff bmp" returns no diferences. But, when running check50, resize correctly to some sizes but not others...
I am at a loss as I cannot figure where the error lies. I am providing a link to my code below. Any input will be greatly appreciated!
here's the updated link to the culprit code...
(Link updated... Thanks for pointing out the issue with the link!)