Page 1 of 1

Hide text in visual part of image?

Posted: 2013-09-25T22:42:23-07:00
by darinb
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

Re: Hide text in visual part of image?

Posted: 2013-09-25T22:55:57-07:00
by fmw42
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

Re: Hide text in visual part of image?

Posted: 2013-09-26T19:58:20-07:00
by snibgo
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.

Re: Hide text in visual part of image?

Posted: 2013-09-27T08:28:06-07:00
by el_supremo
Try the -stegano option of convert.

Pete