My program generated the 50 images (000 to 049) from the card.raw file. When I opened each one, it was just a checkered (which i assume is blank) image. I'm not getting a "unsupported image" error btw.
But when I run check50, I get "recovered image does not match" error for all 3 image test cases.
What does this error printout in the check50 mean? More importantly, what is it that I'm doing wrong in my implementation?
Here's my implementation: https://pastebin.com/sM9YRhnf