i have no way now of verifying that it is in there.
You can only retrieve the hidden image if you know that it's there, and know its size and offset (that's the point of steganography). There's no way to "check" in general whether something is hidden if you don't know precisely how to retreive it.
-stegano
hide watermark within an image. Use an offset to start the image hiding some number of pixels from the beginning of the image. Note this offset and the image size. You will need this information to recover the steganographic image (e.g. display -size 320x256+35 stegano:image.png).

http://docent.hogent.be/~pvt340/multimed/webpages/combine.html

This probably translates into PerlMagick like this:

my $img = Image::Magick->new; $img->Set(size=>'100x100+5'); $img->ReadImage('stegano:result.gif');
If this produces an image that "makes sense", then you know the watermark was there. Otherwise, you'll probably get random pixels.

blokhead


In reply to Re: Image::Magick stegano question by blokhead
in thread Image::Magick stegano question by bear0053

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.