LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 05-22-2003, 11:26 AM   #1
wawosz
LQ Newbie
 
Registered: Apr 2003
Location: New Haven, Connecticut
Distribution: Ubuntu 7.04, CentOS, Debian 4.0
Posts: 5

Rep: Reputation: 0
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
 
Old 05-22-2003, 11:32 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
for i in *.jpg; do convert -blah $i ; done

peasey...
 
Old 04-15-2008, 08:46 PM   #3
optic64
LQ Newbie
 
Registered: Jun 2007
Posts: 8

Rep: Reputation: 0
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.
 
Old 04-15-2008, 11:57 PM   #4
optic64
LQ Newbie
 
Registered: Jun 2007
Posts: 8

Rep: Reputation: 0
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
 
Old 04-16-2008, 09:07 PM   #5
optic64
LQ Newbie
 
Registered: Jun 2007
Posts: 8

Rep: Reputation: 0
forgot to mention restart if right click on jpg file don't show resize image after installing and configuring.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Graphics program for resizing images needed? M$ISBS Linux - Software 4 11-28-2005 02:52 AM
Convert cd images to dvd images rcsuk Debian 2 07-11-2005 10:34 AM
Resizing Images in the GIMP batgranny Linux - Software 1 02-15-2005 10:38 AM
Resizing images quickly? BaltikaTroika Linux - Software 12 10-23-2004 05:41 PM
how to install 'convert' utility for images? jimzwang Linux - Software 3 09-09-2003 07:14 PM


All times are GMT -5. The time now is 12:12 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration