When I asked how the compression part would be implemented, the author called me stupid for asking this question and told me the project was inspired by https://en.wikipedia.org/wiki/Sloot_Digital_Coding_System
To decompress you then just had to find the string of bytes that generated a matching CRC code.
It seemed so brilliant, but something told me it was too good to be true, and surely someone would have come up with this before me... So I tried figuring out why it wouldn't work. Still, took me a day or so before I figured out how long "just" was and that collisions would render it moot anyway.
Learned a lot from that though, as an aspiring programmer.
Needless to say, I never could solve that problem.
Have a look at compressed sensing!
You can’t restore a jpeg to its original image.