This is a simple command-line tool for encoding and decoding images to and from bytes, with an option to display images on the command-line using Unicode characters.
Clone the repository and build the executable:
git clone https://github.com/ccianos/byterep.git
cd byte-representation
go build -o byterep
Encode an image to bytes:
./byterep -encode -input input_image.jpg > encoded_image.txt
Decode bytes to an image:
./byterep -decode -input encoded_image.txt > decoded_image.jpg
Display an image using Unicode characters:
./byterep -decode -input encoded_image.txt
-encode
: Encode the input image to bytes-decode
: Decode the encoded data and display the image-input
: Input file path-help
: Show help message
This project is licensed under the MIT License - see the LICENSE file for details.