Page 1 of 1
I have the same question. I am using PHP Imagick::steganoImage to save a watermark. This appears to work fine. However what are the PHP Imagick methods that I need to use to extract the watermark?
I am not sure how to recover it In Imagick but you probably need the watermark size and offset.
One thing to remember is that if the image is modified in any way it will probably not be possible to recover the watermark.
I looked through the imagick methods and I don't see anything that looks like it can recover the hidden watermark image. Is it possible that the API to recover the image was never made? Any info on where to look for this would be helpful. I have looked all over the web and see nothing that explains how to do this!
The only information I know is at
http://www.imagemagick.org/script/comma ... hp#stegano
I do not know if that is implemented in Imagick. Imagick has been very behind Imagemagick for years. I believe that someone is now working on bringing it up to speed, but I do not know of any details.
You should be able to bring it back using PHP exec() following the commands in the references above.