Gagan-1718/CompressHub ? reverse-engineered prompt
Reverse engineered prompt
Build me a web app that lets people upload an image, compress it losslessly, and see exactly what happened. I want the app to compare plain Huffman compression with a smarter version that first predicts nearby pixels so the data is easier to compress, then show the savings, entropy stats, and the actual codes that were generated. It should also let me preview the original and compressed image side by side, open a larger view, download the decoded image, and download the raw compressed file too.
Please make it feel polished and easy to use, with a few sample images I can click to test the best case, typical case, and worst case quickly. The compressed file should round trip back to the exact original image. If you need to check current docs for the framework or deployment details, go ahead and look them up online first.
Are you gonna build this?
make sure you review the code using coderabbit