Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bujowskis/put-cawllp-bmp
A second project for the Computer Architecture with Low-Level Programming - parsing BMP files
https://github.com/bujowskis/put-cawllp-bmp
Last synced: 13 days ago
JSON representation
A second project for the Computer Architecture with Low-Level Programming - parsing BMP files
- Host: GitHub
- URL: https://github.com/bujowskis/put-cawllp-bmp
- Owner: bujowskis
- License: mit
- Created: 2021-04-12T10:31:49.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-04-25T16:45:40.000Z (over 3 years ago)
- Last Synced: 2024-11-07T20:47:54.357Z (2 months ago)
- Language: C
- Size: 70.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# put-CAwLLP-bmp
A second project for the PUT Computer Architecture with Low-Level Programming - parsing BMP filesTask - write a C program to parse BMP files; Requirements:
- (3.0) program should accept one command line parameter in the format `./program PATH-TO-BMP-FILE`, and print out parsed values from the file header
- (3.5) additionally, program must print out parsed values from the info header
- (4.0) program prints out a histogram of RGB colors
- (4.5) program handles case when started with two command line parameters in the format `./program PATH-TO-INPUT-BMP-FILE PATH-TO-OUTPUT-BMP-FILE`; the output BMP file should have exactly the same values as the input BMP, but the pixel array should be modified to make the image **greyscale** using the simplest formula gray = (r + g + b) / 3
- (5.0) program uses steganography to hide a text inside BMP pixel array, input in the format `./program PATH-TO-INPUT-BMP PATH-TO-ENCODED-BMP "text to be hidden"`; the program should also ask the user if they want the message to be decoded from the output