Skip to content

chandiwalaaadhar/em-coder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Data Encoder & Decoder

This project allows you to encode and decode data into and from images. This can be a fun way to hide secret messages in images or provide a visual representation of your data!

Installation

  1. Ensure you have Go installed on your system. If not, download and install it.
  2. Clone this repository:
    git clone https://github.com/chandiwalaaadhar/em-coder
    
    cd em-coder
    
  3. Install the required packages (if any):
    go get
    

Running

To encode data into an image:

go run main.go encode "Your secret message"

This will create an image named output.png by default.

For a custom filename:

go run main.go encode "Your secret message" customname

This will create an image named customname.png

To decode data from an image:

go run main.go decode /path/to/output.png

Example

Encoded Image:

Encoded Image for One of My Substack Article Text

This Image is encoded from the text of one of my Substack articles [https://aadharchandiwala.substack.com/p/what-makes-googles-golang-optimised]

Contributing

We welcome contributions! Please submit pull requests for improvements, bug fixes, or new features.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages