image watermark layer question

Discussion in 'PHP' started by wrstrong, Jul 12, 2010.

  1. #1
    I have several of my own photos that I need to add a simple watermark to; however, I would like to add stegonography to the watermarked layer in order to put the image information, the page that the image was to be placed on, etc... hidden within the watermarked layer. Is there a way that I can use php to view the stegonography data from the watermarked layer of the completed photo? If so, how?
     
    wrstrong, Jul 12, 2010 IP
  2. sarahk

    sarahk iTamer Staff

    Messages:
    28,901
    Likes Received:
    4,555
    Best Answers:
    123
    Trophy Points:
    665
    #2
    There will be but you will probably have to do a exhaustive search on Google.

    Years ago there was a site that had an example image with the complete lyrics to "American Pie" embedded with no loss of image quality. It was part of a whole encryption site rather than a PHP coding site.

    An image, however, is a text stream so it's just a matter of handing the text to PHP, telling it what the markers are for the comment sections within the image and adding the appropriate string, saving and then using on your site.

    It won't be easy but once its done it'll do the job just fine.
     
    sarahk, Jul 14, 2010 IP
  3. wrstrong

    wrstrong Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm trying to insert info into several images on my site (name, date, time, etc..) so that I can compare it later and make sure that it's mine, if necessary. I want to be able to use PHP to add the info to the images and also to view it when I need to.

    For what I need to do, I can either go about doing this one or two ways.

    Possibility one:
    1) Create watermark image (which I can do now)
    2) Insert STEG info into the watermark image (which I can do now)
    3) Layer watermark image onto my image (which I can do now)
    4) See the STEG info that's in the watermarked layer of my image (here's where I need help)

    Possibility two:
    1) Instead of using STEG, putting custom fields into the EXIF of the image
    2) Lock down the custom fields and their info in the EXIF
    3) See the EXIF info in the image (irregardless if there's a watermark or not)
    (Which I can't do any of these, yet.)

    Do you have any suggestions as to where I should turn next?

    Any help you give me would be greatly appreciated.

    WRStrong
     
    wrstrong, Jul 14, 2010 IP