If you're adding a watermark to prove authenticity of an image, could i suggest doing a super for steganography?

If you use an MD5 of something or other and insert it into the image, all you have to do to prove the image is authentic (and hasnt been modified) is pull out the embedded message and check it.

OK, so its a little more complicated than that, but not much more. The mechanism for computing a message is pretty easy using MD5, and bit fiddling a jpg is nice and easy with pack. I guess the considerations are what you will use as the key to create an MD5 (or SHA-1), and where to store it, as well as the automation to do so.

But i may be off-topic here: If you're using the watermark to degrade an image so people dont use them, this isnt probably the best solution.. :-)


In reply to Re: Dumb Question #2 - ImageMagick by Ryszard
in thread Dumb Question #2 - ImageMagick by lnl

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.