IITDU Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Adding watermark to images in Ubuntu via terminal

2 posters

Go down

Adding watermark to images in Ubuntu via terminal Empty Adding watermark to images in Ubuntu via terminal

Post by BIT0122-Amit Sat Jul 10, 2010 6:04 am

Heya Smile
I thought as I am becoming more and more dependent on Ubuntu, i should find a system of adding watermarks easily.
And i found it.

Say, you have a folder full of pictures. Now all you have to do is open a terminal, browse to that folder using cd command.
now that you are in that folder, and you want to add water marks to every picture, you simply use this command in terminal

Code:
mogrify -font /home/lordamit/Downloads/SolaimanLipi_20-04-07.ttf -pointsize 22 -verbose -draw "gravity south fill white text 1,32 '©️lordamit@gmail.com' " *.jpg

here mogrify is a command under ImageMagick. you will need TrueType fonts to add watermark(I didn't test with any other type)
the pointsize tells the font size.
and gravity south means the text will be located at the bottom of the picture.

I guess that pretty much explains it!
Enjoy Very Happy
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Adding watermark to images in Ubuntu via terminal Empty Re: Adding watermark to images in Ubuntu via terminal

Post by BIT0104-ANIK Sat Jul 10, 2010 1:30 pm

where do you find these sort of stuffs???
BIT0104-ANIK
BIT0104-ANIK
Administrator
Administrator

Course(s) :
  • BIT

Blood Group : O+
Posts : 423
Points : 699

http://anikstech.blogspot.com

Back to top Go down

Adding watermark to images in Ubuntu via terminal Empty Re: Adding watermark to images in Ubuntu via terminal

Post by BIT0122-Amit Sat Jul 10, 2010 1:40 pm

Neutral well... the stuffs i find are most of the time obsolete(like some commands which are no longer used). So i have to modify them myself. And then post them here.

:p So... you can say that... I didn't find this from anywhere. but.. i found the ancestor of this thing somewhere :p
BIT0122-Amit
BIT0122-Amit
Founder
Founder

Course(s) :
  • BIT

Blood Group : O+
Posts : 4187
Points : 6605

https://iitdu.forumotion.com

Back to top Go down

Adding watermark to images in Ubuntu via terminal Empty Re: Adding watermark to images in Ubuntu via terminal

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum