I'm trying to use ImageMagick to perform a bit of steganography similar to the tree/cat picture http://en.wikipedia.org/wiki/Steganogra ... ganography. The built-in -stegano command does not seem to do what I want insofar as I'd like to preserve the "private" picture in some semblance of color.
I have two images, both 8-bit color of the same dimensions, and am invoking convert like:
Code: Select all
convert public.png private.png -fx "(u[0] & 0xFC) | (u[1] >> 6)" steno.png
I'm using ImageMagick 6.6.7-8 on the Mac (from MacPorts) and 6.5.7-8 on Linux.
Might anyone have an idea what I'm doing wrong, and/or how I might achieve a similar effect as the aforementioned tree/cat picture?
Thanks for any info!