Hi,
I'm new to ImageMagick...looking for ideas to use this program to "hide" text in an image (within the image itself, not in the file).
Here's the basic idea: I want to display a color photo--say 16x20. Lots of bright colors--no smooth areas of a single color. I want to hide text within the image in a sort of "hide and seek" manner. The viewer might see hints of text and they are then supposed to find the text by, for example, using their cell phones, take a picture, and reprocess their pict in some way to reveal the image. Or perhaps they will just wear blue glasses, I don't know. Bt they will NOT have access to the image file at all, just a print, framed and behind glass.
So I'm looking for ideas on how such text might be hidden in a manner that it can be revealed by a curious viewer.
A sample image is attached to give you the flavor.
http://montarafog.smugmug.com/Other/dar ... 506-X3.jpg
Ideas?
--Darin
Hide text in visual part of image?
- fmw42
- Posts: 25562
- Joined: 2007-07-02T17:14:51-07:00
- Authentication code: 1152
- Location: Sunnyvale, California, USA
Re: Hide text in visual part of image?
Several ideas (none tested)
1) Put the text into only one channel (r,g,b) of the image.
2) Convert the image to HSL (or some other colorspace) and put the text into one of the channels and then convert back to RGB
3) Put the text into every X lines of the image
4) Warp the image, put the text into it (perhaps as one of the above) and then unwarp the image
5) Split the text into every 3 characters and put into the image, every 3rd character into one of each of the channels
1) Put the text into only one channel (r,g,b) of the image.
2) Convert the image to HSL (or some other colorspace) and put the text into one of the channels and then convert back to RGB
3) Put the text into every X lines of the image
4) Warp the image, put the text into it (perhaps as one of the above) and then unwarp the image
5) Split the text into every 3 characters and put into the image, every 3rd character into one of each of the channels
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: Hide text in visual part of image?
6. Use black text on a white background as a mask placing one image over the other, so one image shows where the text was while the other shows as background.
snibgo's IM pages: im.snibgo.com
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00
Re: Hide text in visual part of image?
Try the -stegano option of convert.
Pete
Pete
Sorry, my ISP shutdown all personal webspace so my MagickWand Examples in C is offline.
See my message in this topic for a link to a zip of all the files.
See my message in this topic for a link to a zip of all the files.