Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 11-02-2003, 03:17 PM   #1
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Rep: Reputation: 30
What can I use to resize jpegs via script/command line?

My camera outputs at 1600x1200 by default.

I'd like, on every pic I want to upload to my website, to resize to 800x600, and create a thumbnail 120x90. Rather than open Gimp, resize, save_as, resize, save_as, for each one, can this be done in a script automatically?

Old 11-02-2003, 03:19 PM   #2
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 65
Try convert:
man convert

There is an example in there.
Old 11-03-2003, 03:23 AM   #3
Registered: Oct 2002
Location: Ayrshire, Scotland
Distribution: Suse(home) RHEL (Work)
Posts: 263

Original Poster
Rep: Reputation: 30
Another one to add to the armoury! Thanks for that.



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 Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Partition resize, YAST2 (Suse 9.0) command line onurbi Linux - Software 4 08-18-2010 04:58 AM
Bash Script, no new line for echo command jorisb Linux - General 5 11-05-2005 01:08 AM
auto running a script from command line millionknives Slackware 7 10-03-2005 11:07 PM
How to execute a command line in a shell script orgazmo Programming 5 05-09-2005 10:16 AM
Resize a Partion from a Command Line kemplej Linux - Software 9 09-02-2004 09:30 AM

All times are GMT -5. The time now is 05:54 AM.

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