Welcome to the Bitmap team project for the Foundation Course at Alem School!
- Team Leader: ssaidaly
- Members: nskakova, basagitz, ysyzdyko, dabektur
This program is designed to work with bitmap image files in Go.
To build the program, run the following command:
go build -o bitmap .The program has two primary commands: header and apply.
The header command prints information about a BMP file.
Usage:
./bitmap header sample.bmpThe apply command allows you to modify BMP files with several options.
Usage:
./bitmap apply [options] <source_file> [<source_file> ...]Here are the available subcommands for apply:
Mirrors the BMP image.
Usage:
./bitmap apply --mirror=[h, hor, horizontal, horizontally, v, ver, vertical, vertically] <source_file> <result_file>Filters a chosen color or applies a specific filter to the BMP image.
Usage:
./bitmap apply --filter=[blue, red, green, negative, pixelate, grayscale, blur] <source_file> <result_file>Crops the BMP image to the specified dimensions.
Usage:
./bitmap apply --crop=[width,height] <source_file> <result_file>Rotates the BMP image left or right by specified degrees.
Usage:
./bitmap apply --rotate=[right, 90, +90, 180, +180, 270, +270, left, -90, -180, -270] <source_file> <result_file>You can always access the help command for guidance on using the program and its subcommands.
Usage:
./bitmap --help
./bitmap header --help
./bitmap apply --helpFeel free to reach out with any questions or for assistance! Enjoy working with the Bitmap program!