Hi all,
I'm using Imagemagick from the commandline and I've got a few questions.
If i resize a 1280x1024 image to 80x50 I get somthing like 69x50. How do I fill up the rest of the space (11 pixels) with white?
And when done with that is would like to watermark the images. the stamp should be in the rightlower corner.
How to put these events in a loop?
Thanks in advance. (btw, i'm a newbie to linux)
resize question
Re: resize question
What does this give you ?
I assume you are putting an image as the watermark
No idea about the loop as I do not use Linux
Code: Select all
convert ( original_image.jpg -resize 80x50 ) -size 80x50 xc:white -gravity center +swap -composite output.jpg
Code: Select all
composite -watermark 30% -gravity Southeast watermark.png original_image.jpg watermarked.jpg
Re: resize question
Thanks!
The loop works great!
Ill post it in a day. Then i tested it and people who watch this threat (google) see the loop which works.
Thanks again.,
The loop works great!
Ill post it in a day. Then i tested it and people who watch this threat (google) see the loop which works.
Thanks again.,
Re: resize question
Thats a good idea zetjee as a lot of people do not do that and nobody that looks at the thread knows if it worked and how.