Encode text into an image and decode it back using TypeScript and HTML.
This project allows you to convert plain text into images and then decode those images back into text. It's a simple yet fun experiment in encoding and decoding data using web technologies.
- Encode ASCII text (zero-terminated) into an image.
- Decode images back into ASCII text.
- Current capacity of a single image: 255 x 255 - 1 characters (minus 1 for zero termination).
- To handle larger text, consider chunking the data into separate parts, each fitting within the 255 x 255 - 1 capacity, and encode/decode them separately.
- cdb: My Code Database with built-in functions like LINQ for TypeScript, designed to facilitate data manipulation.
- tsb: TypeScript bundler, a bundler designed by me for this project to optimize and bundle TypeScript code.
- Clone this repository.
- Install the required libraries/frameworks.
- Follow the documentation to start encoding and decoding text.
This project is licensed under the MIT License - see the LICENSE file for details.
Feel free to contribute, report issues, or suggest improvements!