![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
|
Art & Design Discuss various aspects of Ubuntu and Art here. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Gee! These Aren't Roasted!
![]() Join Date: Nov 2005
Location: Derbyshire, UK
Beans: 218
Ubuntu 6.06
|
HOW TO resize and watermark lots of graphics files at once using Linux
Since I moved to linux a couple of years ago, I have always found it to be a terrible struggle to resize AND watermark a mass of pictures all at once using one command and if you was also wondering hwo to resize and watermark using Linux, here's the answer!
First, install the imagemagick suite (http://www.imagemagick.org) Code:
sudo apt-get install imagemagick As an exampe, if you want to resize all your JPEG files by 65% of their original width and then stamp a watermark on them in the middle, at the bottom of each picture, then just run this command from the terminal (change the values accordingly to fit your needs - this example assumes they are jpg's. If they're something else just change the extension type at the end or just use * for all files) : Code:
mogrify -resize 65% -font Arial -pointsize 25 -verbose -draw "gravity south fill black text 0,33 'YOUR WATERMARK TEXT HERE' fill white text 1,32 'YOUR WATERMARK TEXT HERE' *.jpg Last edited by Ted_Smith; April 20th, 2007 at 06:19 PM.. |
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|