LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 11-02-2003, 02:17 PM   #1
davee
Member
 
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?

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

Rep: Reputation: 79
Try convert:
man convert

There is an example in there.
 
Old 11-03-2003, 02:23 AM   #3
davee
Member
 
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.

Dave
 
  


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 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 03:58 AM
Bash Script, no new line for echo command jorisb Linux - General 5 11-05-2005 12:08 AM
auto running a script from command line millionknives Slackware 7 10-03-2005 10:07 PM
How to execute a command line in a shell script orgazmo Programming 5 05-09-2005 09:16 AM
Resize a Partion from a Command Line kemplej Linux - Software 9 09-02-2004 08:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration