Adding watermark to images in Ubuntu via terminal
2 posters
IITDU Forum :: TechTalks :: Ubuntu
Page 1 of 1
Adding watermark to images in Ubuntu via terminal
Heya
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
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
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
Re: Adding watermark to images in Ubuntu via terminal
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
:p So... you can say that... I didn't find this from anywhere. but.. i found the ancestor of this thing somewhere :p
Similar topics
» Create ASCII art in Ubuntu using terminal
» Set default browser in Ubuntu : terminal style
» How to kick Windows Virus Butt from Ubuntu : Terminal Style!
» Play video in terminal
» Adding Equalizer in Rhythmbox
» Set default browser in Ubuntu : terminal style
» How to kick Windows Virus Butt from Ubuntu : Terminal Style!
» Play video in terminal
» Adding Equalizer in Rhythmbox
IITDU Forum :: TechTalks :: Ubuntu
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|
Tue Sep 29, 2015 2:45 pm by Sophiawood
» Cisco EHWIC SFP/GE WAN Card
Mon Sep 07, 2015 11:08 am by Sophiawood
» Huawei S1700-28GFR-4P-AC Price
Thu Jun 25, 2015 2:31 pm by Sophiawood
» teach yourself C++ / Herbert Schildt Solutions
Wed Jun 03, 2015 1:52 pm by Abdullah Al Noman
» teach yourself c by herbert schildt pdf
Wed May 13, 2015 11:01 pm by Raquib Ridwan
» ASA 5506X With Firepower ASA5506-K9
Fri Apr 10, 2015 4:31 pm by Sophiawood
» New Trends in Deal Business
Tue Feb 03, 2015 9:38 pm by nersoa
» PoE Power Allocation for WS-C2960S-24PS-L
Wed Nov 05, 2014 11:12 am by Sophiawood
» How to cure back pain
Fri Oct 31, 2014 7:15 pm by Bergen Guildford