Question: to be completed in the C programming language. please show all your work and provide detailed explanations. finna learn yeah, c programming Remember bitmap files?


to be completed in the C programming language. please show all your work and provide detailed explanations. finna learn
yeah, c programming
Remember bitmap files? Remember Huffman Encoding? You guessed it! It's time to compress a bitmap file using Huffman Encoding (by the way: lossless JPEG compression uses the Huffman algorithm in its pure form.) Your program should compress a bitmap file and store the compressed file as.hbmp For simplicity reasons, turn your image gray and compress a gray image. How I will run your code: mycompress [flags] [filename] (encryption password] flags can be chosen to be g... gray c ... color (+10 EC) e ... encrypted (+ 10 EC) The filename ending in .bmp is indicating that it should be compressed, the filename ending in .hbmp indicates, to decompress it. Please note, that your program should handle the compression and decompression in any way you please. How much smaller (in %) is the compressed image? How long does it take to compress and decompress it? Any ideas how to parallelize it? Where? What is the time you win? All good until here? Go for colored images! Still up for more challenges? Encrypt your image with a password. The encryption/decryption password can be a phrase and not just a word. You must use bitwise operators such as bit shifting etc. Remember bitmap files? Remember Huffman Encoding? You guessed it! It's time to compress a bitmap file using Huffman Encoding (by the way: lossless JPEG compression uses the Huffman algorithm in its pure form.) Your program should compress a bitmap file and store the compressed file as.hbmp For simplicity reasons, turn your image gray and compress a gray image. How I will run your code: mycompress [flags] [filename] (encryption password] flags can be chosen to be g... gray c ... color (+10 EC) e ... encrypted (+ 10 EC) The filename ending in .bmp is indicating that it should be compressed, the filename ending in .hbmp indicates, to decompress it. Please note, that your program should handle the compression and decompression in any way you please. How much smaller (in %) is the compressed image? How long does it take to compress and decompress it? Any ideas how to parallelize it? Where? What is the time you win? All good until here? Go for colored images! Still up for more challenges? Encrypt your image with a password. The encryption/decryption password can be a phrase and not just a word. You must use bitwise operators such as bit shifting etc
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
