Watermarking on Images?

Discussion in 'Programming' started by MarcL, Aug 29, 2008.

  1. #1
    I own a image host, and I was curious if there is a script that can put my watermark on the corner of images that people upload?
     
    MarcL, Aug 29, 2008 IP
  2. toraton

    toraton Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can use the GD library with PHP to achieve this.
     
    toraton, Aug 30, 2008 IP
  3. _mike

    _mike Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    use imagemagick, its more faster than gd in php!!
     
    _mike, Aug 30, 2008 IP
  4. toraton

    toraton Peon

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I don't know about that _mike, especially because you'll have to fork a separate process to kick off imagemagick.
     
    toraton, Sep 1, 2008 IP
  5. javizarza

    javizarza Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I agree.

    According to my tests, GD works better if you only use it at upload time. Dunno what could happen if you try to put the watermark each and every time a request is done.

    It's something easy to code MarcL, you only need to check if your host supports GD.
     
    javizarza, Sep 2, 2008 IP