resizing series of images (convert)
Hello All,
I want to use "convert" to resize a series of images in one folder. When I am running: convert -resize 800x600 *.jpg only last jpeg-picture is resized. How to resize a series of images? I don't want to resize all pictures manually. Any ideas, Thanks, Wawosz |
for i in *.jpg; do convert -blah $i ; done
peasey... |
I switch my mom from xp to ubuntu and I am a linux noobie. I know for xp you can get powertoys for it and then right click on a image to resize it.
Is there away to add this convert command in the right click dialog box? She kind of a computer noobie all around and less programs and steps to mess with will make her happy. I want her linux experience to be the best. Tired of reloading computers, fixing spyware machines, and recommending lots of $$$ on cheap working security software. |
Got it
Ubuntu 7.10-The Gutsy Gibbon install imagemagick sudo apt-get install imagemagick sudo apt-get install nautilus-actions or add/remove (Note: make sure dropbox Show All available applications) find Nautilus Action Configuration check click apply ------------------------------------------------------ after install goto System->Preferences->Nautilus Action Configuration Click Add ------------------------------- ON Menu Item & Action Tab Label: Image Resizer (Thats what I named mine) Tooltip: This resizes Image (My tooltip message) Icon: (if you need one I might make one later) Path:/usr/bin/convert Parameters:%M -resize 50%% %d/resize%f (Note: %M is for full path and file. -resize is a convert option, 50%% 50% is half size the extra % is for adding a % to the command, %d is for the path, / is needed, resize%f is to name the resized file resize+old=filename) --------------------------------------------- ON Conditions Tab filenames: *jpg;*.JPG;*.jpeg;*.JPEG (I added these the convert does more so its flexable if needed ) Mimetypes: image/* --------------------------------- Theres other stuff for multiple files but haven't expermented with it so check it out. Thank You wawosz, acid_kewpie for starting this post and giving me knowledge of convert Thank You http://www.techthrob.com/tech/actionconfig.php for the knowledge of Nautilus Actions |
forgot to mention restart if right click on jpg file don't show resize image after installing and configuring.
|
All times are GMT -5. The time now is 03:31 AM. |