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.
- PPM Image to WAV Audio Conversion: Encode the contents of a
.ppmimage file into a standard.wavaudio 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.
- Image Input: PPM (Portable Pixmap Format,
.ppm) - Audio Output: 16-bit PCM WAV (
.wav)
-
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 -
Convert PPM Image to WAV
./img2wave input.ppm output.wav
-
With Metadata Modification
./img2wave input.ppm output.wav --meta "Secret message"
./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".
- 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.
This tool is designed for light steganography and human encryption. For serious security, use proper cryptographic methods in addition.
MIT License
Made with ❤️ by Nithin-3