10 Comments


  1. hi, is there any syntax available for -gravity aside from center? thanks in advance

    Reply
    • Linerd

      Supported gravity options can be found with the following command:

      identify -list gravity

      You can also check out the ImageMagick documentation online. http://www.imagemagick.org/script/command-line-options.php#gravity

      Reply

      • hello its been awhile since i last visit this post, thanks for the info. i am using southeast as gravity, kudos your script is very helpful, been using it eversince i stimble upon your blog.

        Reply
  2. repettus

    Dont know why but its working now, never mind

    Reply
    • Linerd

      That's good because that error message has me stumped.

      Reply
  3. repettus

    Unfortunately this does not work for me. In Ubuntu 9.1, I tried composite -gravity center image1.png image2.gif outputimage.jpg. However, I get " unable to open image `temp.png': No such file or directory @ blob.c/OpenBlob/2439.

    Reply
  4. Linerd

    I discovered an issue with watermarking TIFF images. I have added the -quality 100 switch to address this.

    Reply
  5. iggykoopa

    here's a script I wrote to do something similar for a #! forum member http://crunchbanglinux.org/forums/topic/3738/image-resizerwatermarker/ . Good tutorial 😉

    Reply
    • Linerd

      iggykoopa - Thanks for the link. I'm working on a similar script. It's always interesting to see how someone else goes about doing things. I've been playing around with Zenity, but haven't really done much with it yet. Something I struggle with is deciding how much to hard code into the script vs. presenting options to the user. For myself, I like things hard coded in since it makes things quicker for me when I run the script, but I know that is not the most desirable way for many users.

      Reply

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.