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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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"?????
Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

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

Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
WordPress 8 67
How to build a web site 17 96
Anyone use Youtube Movie Maker 5 72
ReadyAPI 1.9.0 2 41
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
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.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn the basics of inputting and editing your text components in Prezi. We will cover how to set styles, position, and group your text components. In your Prezi editor, click anywhere on the canvas to add text: A flashing cursor informs you that yo…

738 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