Ok I've been working on this for hours and I'm baffled. The header file all matches the staff implementation having checked it through peek.
But when I run resize 4 on small.bmp I get this:
So that is telling me that there's an issue with the vertical resizing and also that I'm probably messing up the padding somewhere?
But I really can't see where I'm going wrong in the code - any help welcome!
EDITED - code removed