Hide in picture?

This is a discussion on Hide in picture? within the C++ Programming forums, part of the General Programming Boards category; I want to write program to hide text file in picture. Anyone can help me?...

  1. #1
    Microsoft Lover afreedboy's Avatar
    Join Date
    Nov 2003
    Posts
    189

    Question Hide in picture?

    I want to write program to hide text file in picture. Anyone can help me?

  2. #2
    Toaster Zach L.'s Avatar
    Join Date
    Aug 2001
    Posts
    2,686
    One (probably naive) approach would be to change the least significant bit of each sequential pixel to be one message from the text. Granted, this will in general require a large image, and you somehow need to store the size of the text file (perhaps the first few bytes of data that is hidden).

    Anyways, look up steganography on google. That should give you plenty of resources.
    The word rap as it applies to music is the result of a peculiar phonological rule which has stripped the word of its initial voiceless velar stop.

  3. #3
    Registered User axon's Avatar
    Join Date
    Feb 2003
    Location
    Mt. Prospect, IL
    Posts
    2,572
    yes, like zach said, do a search on google...there are a lot of great algorithms for hidding info in different data types. A few months ago I played around with the code for this nifty algo: ftp://ftp.csua.berkeley.edu/pub/cyph...lSteg1.0.tar.Z

    check it out....all the source code is included

    some entropy with that sink? entropysink.com

    there are two cardinal sins from which all others spring: Impatience and Laziness. - franz kafka

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. [C] change picture width and height in Static control (no MFC)
    By pc2-brazil in forum Windows Programming
    Replies: 1
    Last Post: 05-05-2008, 01:17 AM
  2. Hide application from systray
    By Arkanos in forum Windows Programming
    Replies: 1
    Last Post: 01-16-2006, 03:37 PM
  3. Embedding Objects into Picture Controls
    By Capsher Codah in forum Windows Programming
    Replies: 1
    Last Post: 03-05-2005, 08:38 PM
  4. Rotating a picture
    By Bill in forum C Programming
    Replies: 4
    Last Post: 05-18-2004, 09:26 PM
  5. Insert picture for printing
    By ooosawaddee3 in forum C Programming
    Replies: 0
    Last Post: 04-05-2002, 08:26 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21