I know others have had a similar problem and I have tried to find my error but I see no difference between my bmp file and the staff.bmp. Since reddit seems very quiet these days I am posting here also. I tested several factor numbers. I get a sad face on 2x2 bmp when n is 2- here is the check50 result
I compared the headers using peek and everything is green.
I compared the hex values using xxd and also the same including the headers.
I was so happy to finally get resize working but now I do not have any idea where my problem is...
Any help would be greatly appreciated.