Hide data in .png image

Posted on 2008-10-24
Last Modified: 2013-12-25
I would like to hide 1mb of data inside a 1kb png image.  So the resulting png image would be 1.1mb and would look exactly the same but would actually secretly contain 1mb of hidden data.

How can this be done?
Question by:hankknight
  • 3
  • 2
LVL 38

Expert Comment

ID: 22797809

When you say "hide data inside image", are you referring to steganography, where the data is actually embedded in the picture, or are you talking about just appending the information to the image file, so the picture is unchanged, but the data is contained within the file?

And, just curious, what's your intended application?

LVL 16

Author Comment

ID: 22797901
I do not want to embed data in the picture, I just want to append the information to the image file.

I could use the modified image to unsuspectingly pass sensitive informations to other members of my sleeper cell.....

Or I could access the data in the image via PHP's eval() function for ultimate script obsification.
LVL 13

Expert Comment

ID: 22798038
"Sleeper cell"?????
The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

LVL 16

Author Comment

ID: 22798149
On second thoughts maybe this question wasn't such a good idea....  We wouldn't want to have terrorists distributing propaganda disguised as porn.  I think I will ask this question to be deleted without being answered.  Before the whole site gets shut down by the FBI.
LVL 38

Accepted Solution

lherrou earned 500 total points
ID: 22798271

If I felt there were any issues with the question, I would have switched over to my Zone Advisor / Page Editor role and deleted it. Believe me, the FBI won't be worrying about anything at the level we would be talking about in this Q.

LVL 16

Author Comment

ID: 22798683
LOL....  Thanks for your help and sense of humor.

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Because your company can’t afford for you to make SEO mistakes, you’ll want to ensure you’re taking the right steps each and every time you post a new piece of content. This list of optimization do’s and don’ts can help you become an SEO wizard.
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In addition to being a great web-based presentation tool, Prezi also makes it easy to save your presentation as a PDF to share with others as well. Learn how in this tutorial. Select the share icon from the top menu in your Prezi editor: Select "D…
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question