PHP Classes
elePHPant
Icontem

Msg2Pic: Encode and decode text messages inside pictures

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2014-09-01 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 391 All time: 6,287 This week: 899Up
Version License PHP version Categories
msg2pic 1MIT/X Consortium ...5PHP 5, Graphics, Cryptography
Description Author

This class can encode and decode text messages inside pictures.

It can take a given text converts each of its characters to color values.

The class creates an image of a given width and height setting its pixels of the input text character color values. The generated image is saved in PNG format.

It can also do the opposite, i.e. take a previously generated image and extract the encoded text by decoding the image pixel colors.

A separate class can also take a text to encode but encrypts it with a given key before storing the encoded characters as color pixels.

Picture of Aaron Cox
Name: Aaron Cox <contact>
Classes: 1 package by
Country: United States United States

Screenshots  
  • genesis.png
  • msg2pic_screenshot.jpg
  • hamlet.png
  • united_states_constitution.png
  • source_code_for_php_wikipedia_page.png
  • php.png
  • bad_words_list.png
  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Example of how to use Msg2Pic class to convert messages into b/w pictures and vice versa. This would allow messages to be hidden in picture files thus adding a degree of stealth to the user's arsenal.
Accessible without login Plain text file LICENSE.txt Lic. License info for Msg2Pic class
Plain text file msg2pic.php Class Class that includes functionality for the conversion of messages to pictures and vice versa. Also includes functions to output results from coversions and functions for encrypting and decrypting data if the user would like to build upon the capabilities of this class.
Accessible without login Image file msg2pic.png Photo PHP class to convert messages to pictures and vice versa.
Plain text file msg2pic_color.php Class Class that includes functionality for the conversion of messages to color pictures and vice versa. Tests done using this class have found that the final images created are smaller than the plain text documents with the exact same messages!

 Version Control Unique User Downloads Download Rankings  
 0%
Total:391
This week:0
All time:6,287
This week:899Up