from what i understand this method will hide one image inside another image? Thats great but how can i run an image through a function and verify if it contains the hidden watermark? Is there any way to modify an image by hiding some sort of data or identification message in it that I would be able to check regardless of cropping and other modifications an individual may do to it? Below is the code i use to insert the stegano, which seems to work fine. The image prints out and looks unchanged by the addition of the hidden watermark which i expected but i have no way now of verifying that it is in there. Thanks for the help.
my $background=Image::Magick->new(magick=>"gif"); $background->BlobToImage($binary_data); my $foreground=Image::Magick->new; $foreground->Read($watermark_file); $background->Stegano(image=>$foreground, offset=> 1); $background->Write("gif-"); $binary_data = $background->ImageToBlob(); print "content-type: image/gif\n\n"; print $binary_data;

In reply to 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.