Skip to content

Nithin-3/IMG2WAVE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IMG2WAVE

IMG2WAVE is a C++ tool that converts PPM images into WAV audio files, embedding the image data into the audio stream. The resulting WAV file can also have its metadata modified, making this tool useful for human encryption, steganography, or creative data hiding.

Features

  • PPM Image to WAV Audio Conversion: Encode the contents of a .ppm image file into a standard .wav audio file.
  • Human Encryption & Steganography: Conceal image data within audio for privacy, secret sharing, or creative encryption.
  • Metadata Modification: Supports editing WAV file metadata to hide or encode additional information.
  • C++ Implementation: High performance, cross-platform compatibility.

Supported Formats

  • Image Input: PPM (Portable Pixmap Format, .ppm)
  • Audio Output: 16-bit PCM WAV (.wav)

Usage

  1. Build the Project

    Make sure you have a C++ compiler (like g++ or clang++) installed.

    git clone https://github.com/Nithin-3/IMG2WAVE.git
    cd IMG2WAVE
    make
  2. Convert PPM Image to WAV

    ./img2wave input.ppm output.wav
  3. With Metadata Modification

    ./img2wave input.ppm output.wav --meta "Secret message"

Example

./img2wave secret.ppm encrypted.wav --meta "Top Secret"

The resulting encrypted.wav will contain the image data encoded as audio, and the WAV metadata will include the message "Top Secret".

How It Works

  • Reads the PPM image file and serializes its data.
  • Encodes the data into an audio stream, saving it as a WAV file.
  • Optionally modifies WAV metadata for extra secrecy or notes.
  • To extract or decode the image, a compatible "wave2img" tool or decoder is required.

Security Note

This tool is designed for light steganography and human encryption. For serious security, use proper cryptographic methods in addition.

License

MIT License


Made with ❤️ by Nithin-3

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages