
F.O.T.U (Focused on the Unfocused) is the name of my photoblog
I started that photoblog several years ago. Unfortunately, I had to stop it.
recently I decided to publish it again. After testing several photoblog systems, I finally chose PixelPost. (I used to use FolderBlog which is also great but too simple for me)
I liked PixelPost, I edited its default template, but before uploading my photos I needed to resize them and add my watermark to each photo .
I resized all my photos and I added my watermark to all of them in a few seconds
not with Photoshop nor with Gimp ,it would take many hours and a lot of energy using a graphical photo editor, this is one of the situations which a console based program is necessary , I mass edited all my photos using "Image Magic" in a few seconds !
in Ubuntu install Image Magic using :
sudo apt-get install imagemagick(they have both Windows and Linux version)
then I copied all my photos into a folder on the desktop like "myphotos" then :
cd Desktop
cd myphotosthen I resized all my photos by this command:
mogrify -resize 65% *.jpgdepending on the number of your photos it would take sometime , for me it took a few seconds
you could resize the photo by giving the exact width and height too like this
mogrify -resize 256x256 *.jpg
and then I added my photoblog's name (Focused On The Unfocused) in white color with a black shadow and 22 font size to the bottom of all of my photos using this command :
mogrify -font /usr/share/fonts/truetype/msttcorefonts/Arial_Black.ttf pointsize 22 -verbose -draw "gravity south fill black text 0,33 'Focused On The Unfocused' fill white text 1,32 'Focused On The Unfocused' " *.jpgNote that you should give the program the address to font file on your system , (I have marked it in green) in ubuntu fonts are normally in /usr/share/fonts/truetype/
(in windows they are in c:\windows\fonts\)
to find out the exact Arial font's address on my Ubuntu system I used this command :
locate Arial*.*ok we are done ! :)
I add another text to all my jpg photos in the folder ;
- Text is "WWW.FOTU.SHEVIN.INFO"
- Smaller font size (15)
- Another font type (Purisa)
- Orange Color
- On the the top Left Corner
mogrify -font /usr/share/fonts/truetype/thai/Purisa.ttf -pointsize 15 -verbose -draw "fill black text 5,23 'WWW.FOTU.SHEVIN.INFO' fill orange text 6,24 'WWW.FOTU.SHEVIN.INFO' " *.jpgMass editing photos saves your time and more important you get the same look on all of the photos , there are many other things than resizing and watermakring which you can do using ImageMagic you can study the commands on their website .
After doing all this stuff , it was was lovely when people visited my F.O.T.U and admired my photos .
Piling told me :
in fact you have your own style , your pictures are dreamy, mysterious, a bit melancholic. like you in fact !
too bad I don't have a camera any more to take more photos... (if you are Bill Gates or somebody ,you are welcome to buy me a camera . wink)
today I also added some things to this blog's template (I am still working on my blog template)










5 comments:
please digg here ,( if you think it is usefull)
Really cool man.
Did you know you can embed a script into gnome to do this? so all you would have to do is select all ur pics, right click and BLAM.
Excelent guide. mogrify is much faster than the convert command which i was earlier using.
Any ideas on how to embed an image/logo also?
Like whats in my mind is top left to have the website name... top right can have the logo..
"Any ideas on how to embed an image/logo also?"
It is very easy with Phatch, a new photo batch processor:
http://ubuntuforums.org/showthread.php?t=466598&highlight=watermark
mogrify: /usr/local/lib/libpng12.so.0: no version information available (required by /usr/lib/libMagick.so.9)
I get this error how to fix it?
Post a Comment