Click here to Skip to main content
15,896,111 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
Currently I am doing a code in C# to embed a text file within an bitmap image. This is working fine, but in case of embedding image inside an image it's not working. Can anyone help me out on this?

Thanks in advance.
Posted
Updated 5-Jan-11 8:26am
v2
Comments
fjdiewornncalwe 5-Jan-11 12:49pm    
Some source snippets on what you are doing, and where it is going wrong would help us help you much better. Right now, the question is just a little too theoretical to get a great answer.
[no name] 5-Jan-11 12:50pm    
Can you explain what you mean by embedding image inside and image?
Manfred Rudolf Bihy 5-Jan-11 12:55pm    
My thoughts were going in the direction of steganography.
And instead of hiding text he wants to hide another image.
Manfred Rudolf Bihy 5-Jan-11 15:23pm    
What isn't working Shadow? Give us some details!

Something like this[^]?
 
Share this answer
 
Comments
Manfred Rudolf Bihy 5-Jan-11 12:54pm    
My thoughts were going more in the direction of steganography.
Sergey Alexandrovich Kryukov 5-Jan-11 14:55pm    
Yes, Mark, the collage art you reference here it not related to steganography...
Manfred Rudolf Bihy 6-Jan-11 8:22am    
Maybe not related, but very neat stuff nevertheless! 5+
It works by the same principles as the hiding of text, except that you can't hide one picture in another if it is greater than approximately 1/8 of the file it will be hidden in, since we can only hide information in the least significant bit of the visual data (you might want to try 2 bits and see how it goes). One would have to subtract a little bit from that factor since there is also image metadata that cannot be used to hide something in it.

Where exactly are you experiencing your problems?

Regards,
Manfred
 
Share this answer
 
v3
Depending on the imageformat in question you can always play around with the palette, hiding a monochrome image shouldn't be too hard.

You can use this link[^] as a starting point to retrieve information on various well known ideas and methods.

Good luck
Espen Harlinn
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900