rotate, align and merge watermark on top of pics in batch

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
agrawal
Posts: 1
Joined: 2015-10-29T06:08:00-07:00
Authentication code: 1151

rotate, align and merge watermark on top of pics in batch

Post by agrawal »

I have thousands of pictures.
They are either bigger in length or width or are square.
I have a grey color watermark image (actually it is a semitransparent text), which I want to put on top of all images.
However, I want to align watermark along the longest side of the image file. Therefore, watermark will be rotated to be horizontal or vertical depending on individual image.
Also since all the images are of different dimension, I want to adjust the size of watermark accordingly.
What can be the command (script) in windows to achieve the above for thousands of image files (JPG)?
Thank you so much for your help.
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: rotate, align and merge watermark on top of pics in batch

Post by Bonzo »

You will not learn anything by just asking for the answer.

Why not try writing some code to watermark a simple image? A lot of what you want to do is probably covered already on the forum; if you try searching.

Also you do not say what version of Imagemagick you are using.
Post Reply