F/X>Stegano

IMagick is a native PHP extension to create and modify images using the ImageMagick API. ImageMagick Studio LLC did not write nor does it maintain the IMagick extension, however, IMagick users are welcome to discuss the extension here.
Post Reply
jeffm
Posts: 2
Joined: 2015-12-05T09:28:17-07:00
Authentication code: 1151

F/X>Stegano

Post by jeffm »

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?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: F/X>Stegano

Post by Bonzo »

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.
jeffm
Posts: 2
Joined: 2015-12-05T09:28:17-07:00
Authentication code: 1151

Re: F/X>Stegano

Post by jeffm »

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!
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: F/X>Stegano

Post by fmw42 »

The only information I know is at
http://www.imagemagick.org/script/comma ... hp#stegano
http://www.imagemagick.org/Usage/transform/#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.
Post Reply